Indexes   

HybridShapeCircleCenterTangent (Object)

Represents the hybrid shape circle object defined using a center, a curve and a support.
Role: To access the data of the hybrid shape circle tangent object.

This data includes:

Use the CATIAHybridShapeFactory to create a HybridShapeCircleCenterTangent object.

See also:
HybridShapeFactory.AddNewCircleCenterTangent

Property Index

BeginOfCircle
Return or Set the number of the beginning curve of the circle.
CenterElem
Returns or sets the Center Element of the circle.
DiameterMode
Returns or sets the DiameterMode.
Diameter
Returns the circle diameter.
DiscriminationIndex
Return or set the discrimination index of the current circle.
Orientation1
Returns or sets the orientation of the first curve to which the circle is tangent.
Orientation2
Returns or sets the orientation of the second curve to which the circle is tangent.
Radius
Returns the circle radius.
Support
Returns or sets the circle support surface.
TangentCurve
Returns or sets the tangent curve to which the circle will be tangent.
TangentOrientation1
Returns or sets the tangent orientation of the circle first reference element.
TangentOrientation2
Returns or sets the tangent orientation of the circle second reference element.

Properties


o Property BeginOfCircle() As
Return or Set the number of the beginning curve of the circle. This parameter is used to stabilize the resulting circle
Example:
This example set the beginning wire index of the hybShpcircle hybrid shape circle
 hybShpcircle.BeginOfCircle = 1
 
o Property CenterElem() As
Returns or sets the Center Element of the circle.
Example:
This example retrieves in HybShpCircleCenterCurve the first curve to which the HybShpCircle hybrid shape circle is Center curve.
 Dim HybShpCircleFirstCurve As Reference 
 HybShpCircleFirstCurve = HybShpCircle.CenterElem
 
o Property DiameterMode() As
Returns or sets the DiameterMode.
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 HybShpCircle hybrid shape circle feature
  HybShpCircle.DiameterMode = True
  
o Property Diameter() As (Read Only)
Returns the circle diameter. It is expressed as a Length literal. Succeeds only if DiameterMode is set to True.
Example:
This example retrieves in HybShpCircleDiameter the diameter of the HybShpCircle hybrid shape circle feature
 Dim HybShpCircleDiameter As Length
 HybShpCircleDiameter = HybShpCircle.Diameter
 
o Property DiscriminationIndex() As
Return or set the discrimination index of the current circle. Several resulting solutions produced by the operator can be same oriented regarding to the input wire bodies. In such a case, they are sorted in order to distinguish them. The Sequence FirstOrientation - SecondOrientation - DiscriminationIndex allows you to identifie a unique one-domain solution.
Example:
This example set the discrimination index of the hybShpcircle hybrid shape circle
 hybShpcircle.DiscriminationIndex = 2
 
o Property Orientation1() As
Returns or sets the orientation of the first curve to which the circle is tangent.
Role: The orientation of the first curve determines the side of this curve taken into account to find the point where the circle is tangent to the curve.
Legal values: To be provided by Claire (1/-1??)
Example:
This example sets the orientation of the first curve to which the HybShpCircle hybrid shape circle is tangent to reverse.
 Set HybShpCircle.Orientation1 -1
 
o Property Orientation2() As
Returns or sets the orientation of the second curve to which the circle is tangent.
Role: The orientation of the second curve determines the side of this curve taken into account to find the point where the circle is tangent to the curve.
Legal values: To be provided by Claire (1/-1??)
Example:
This example retrieves in HybShpCircleOrientation the orientation of the second curve to which the HybShpCircle hybrid shape circle is tangent.
 HybShpCircleOrientation = HybShpCircle.Orientation2
 
o Property Radius() As (Read Only)
Returns the circle radius. It is expressed as a Length literal. Succeeds only if DiameterMode is set to False.
Example:
This example retrieves in HybShpCircleRadius the radius of the HybShpCircle hybrid shape circle.
 Dim HybShpCircleRadius As Length
 HybShpCircleRadius = HybShpCircle.Radius
 
o Property Support() As
Returns or sets the circle support surface.
Sub-element(s) supported (see
Boundary object): Face.
Example:
This example retrieves in HybShpCircleSupportSurf the support surface of the HybShpCircle hybrid shape circle.
 Dim HybShpCircleSupportSurf As Reference 
 Set HybShpCircleSupportSurf = HybShpCircle.Support
 
o Property TangentCurve() As
Returns or sets the tangent curve to which the circle will be tangent.
Example:
This example sets the tangent curve to which the HybShpCircle hybrid shape circle will be tangent to TgtCrv.
 Set HybShpCircle.Tangent Curve TgtCrv
 
o Property TangentOrientation1() As
Returns or sets the tangent orientation of the circle first reference element. compared to the circle itself
Example:
This example retrieves the tangent orientation of first reference element of the hybShpcircle hybrid shape circle in firstOrient.
 Dim firstOrient As long
 firstOrient = hybShpcircle.FirstTangentOrientation
 
o Property TangentOrientation2() As
Returns or sets the tangent orientation of the circle second reference element. compared to the corner itself
Example:
This example retrieves the tangent orientation of second reference element of the hybShpcircle hybrid shape circle in secondOrient.
 Dim secondOrient As long
 secondOrient = hybShpcircle.SecondTangentOrientation
 

Copyright © 2006, Dassault Systèmes. All rights reserved.