Role: To access the data of the hybrid shape circle object.
This data includes:
- The circle center
- The circle radius
- The surface that supports the circle
Use the CATIAHybridShapeFactory to create a HybridShapeCircleCtrRad object.
- See also:
Properties
- Property Center() As
-
Returns or sets the circle center.
Sub-element(s) supported (see object): .- Example:
-
This example retrieves in
HybShpCircleCenterthe center of theHybShpCirclehybrid shape circle.Dim HybShpCircleCenter As Reference HybShpCircleCenter = HybShpCircle.Center
- Property Diameter() As (Read Only)
-
Returns the circle diameter.
It is expressed as a literal. Succeeds only if DiameterMode is set to True.
HybShpCircleDiameter the diameter
of the HybShpCircle hybrid shape circle feature
Dim HybShpCircleDiameter As Length HybShpCircleDiameter = HybShpCircle.Diameter
Legal values: True implies diameter False implies radius (default). When DiameterMode is changed, Radius/Diameter value, which is stored will not be modified.
- Example:
-
This example sets that the DiameterMode of the
HybShpCirclehybrid shape circle featureHybShpCircle.DiameterMode = True
myHybridShapeDirection the first direction
of the HybShpCircle hybrid shape circle feature
Dim myHybridShapeDirection As CATIAHybridShapeDirection myHybridShapeDirection = HybShpCircle.FirstDirection
- See also:
HybShpCircleRadius the radius
of the HybShpCircle hybrid shape circle.
Dim HybShpCircleRadius As Length HybShpCircleRadius = HybShpCircle.Radius
Sub-element(s) supported (see object): .
- Example:
-
This example retrieves in
HybShpCircleSupportSurfthe support surface of theHybShpCirclehybrid shape circle.Dim HybShpCircleSupportSurf As Reference HybShpCircleSupportSurf = HybShpCircle.Support
Methods
- Sub GetSecondDirection( oDirX, oDirY, oDirZ)
-
Gets the second direction on the plane to compute the point (for stability).
This direction has to be kept perpendicular to the first direction- Parameters:
-
- oDirX,
- oDirY, oDirZ. second direction dd>
- See also:
- Func IsGeodesic() As
-
Queries whether the circle is geodesic or not.
- Parameters:
-
- oGeod
- geodesic type : when TRUE, the circle is geodesic. dd>
- Sub SetGeometryOnSupport()
-
Sets GeometryOnSupport of circle.
It puts the circle on the surface. - Sub SetSecondDirection( iDirX, iDirY, iDirZ)
-
Sets the second direction on the plane to compute the point (for stability).
This direction has to be kept perpendicular to the first direction- Parameters:
-
- iDirX,
- iDirY, iDirZ. second direction dd>
- See also:
- Sub UnsetGeometryOnSupport()
-
Inactivates GeometryOnSupport of circle.
Note: The circle becomes euclidean.