Role: To access the data of the hybrid shape conic object. This data includes:
- The start point and its associated tangent contraint
- The end point and its associated tangent contraint
- The supporting plane
- The tangent intersection point
- The conic parameter: p = 0.5 (parabola), 0<=p<=0.5 (ellipse), 0.5<= p <=1.0 (hyperbola)
Use the to create a HybridShapeConic object.
Properties
conicParm the conic parameter
of the conic hybConic.
Dim conicParm As double
Set conicParm = hybConic.ConicParameter
conicUserTol the conic user tolerance
of the conic HybridShapeConic.
Dim oConicUserTol As CATIALength
Set oConicUserTol = HybridShapeConic.conicUserTol
Sub-element(s) supported (see
object):
.
endPt the end point
of the conic hybConic.
Dim endPt As Reference
Set endPt = hybConic.EndPoint
endTgt the tangent direction associated with the end point
of the conic hybConic.
Dim endTgt As Reference
Set endTgt = hybConic.EndTangent
Sub-element(s) supported (see
object):
.
startPt as the start point
of the conic hybConic.
Dim startPt As Reference
... ' Value startPt
hybConic.StartPoint startPt
startTgt as the tangent direction at the start point
of the conic hybConic.
Dim startTgt As Reference
... ' Value startTangent
hybConic.StartTangent startTgt
Sub-element(s) supported (see
object):
.
supportPln the supporting plane
of the conic hybConic.
Dim supportPln As Reference
Set supportPln = hybConic.SupportPlane
Sub-element(s) supported (see
object):
.
tgtIntPt the tangent intersection point
of the conic hybConic.
Dim tgtIntPt As Reference
Set tgtIntPt = hybConic.TangentIntPoint
Methods
Legal values: 1 if the tangent direction is used as is, and -1 if it
is inverted
dd>
This example retrieves the direction orientation of the tangent at the end point of
the conic
hybConic.
Dim endPtTgtOrient As long
hybConic.GetEndTangentDirectionFlag endPtTgtOrient
Legal values: 1 for the first passing point, and 2 for the second one
dd>
This example retrieves in
tgtDir the tangent direction at point passingPtIdx
through which the conic hybConic passes.
Dim tgtDir As Reference
passingPtIdx = 1
Set tgtDir = hybConic.GetIntermedTangent (passingPtIdx)
Legal values: 1 for the first passing point, 2 for the second one, and 3 for the third one
dd>
This example retrieves in
passingPt the second point through which
the conic hybConic passes.
Dim passingPt As Reference
passingPtIdx = 2
hybConic.GetIntermediatePoint passingPtIdx, passingPt
Legal values: 1 for the first passing point, and 2 for the second one
dd>
Legal values: 1 if the tangent direction is used as is, and -1 if it
is inverted
dd>
This example retrieves the direction orientation of the tangent at the first point through which
the conic
hybConic passes.
passingPtIdx = 1
Dim passingPtTgtOrient As long
hybConic.GetIntermediateTangentDirectionFlag passingPtIdx, passingPtTgtOrient
Legal values: 1 if the tangent direction is used as is, and -1 if it
is inverted
dd>
This example retrieves the direction orientation of the tangent at the start point of
the conic
hybConic.
Dim startPtTgtOrient As long
hybConic.GetStartTangentDirectionFlag startPtTgtOrient
Legal values: 1 if the tangent direction is to be used as is, and -1 if it
must be inverted
dd>
This example sets the direction orientation of the tangent at the end point of
the conic
hybConic to the one of the direction used for
the tangent.
endPtTgtOrient = 1
hybConic.SetEndTangentDirectionFlag endPtTgtOrient
Legal values: 1 for the first passing point, 2 for the second one, and 3 for the third one
dd>
Sub-element(s) supported (see
object):
.
dd>
This example sets
passingPt as the first point through which
the conic hybConic must pass.
Dim passingPt As Reference
... ' Value passingPt
passingPtIdx = 1
hybConic.SetIntermediatePoint passingPtIdx, passingPt
Legal values: 1 for the first passing point, and 2 for the second one
dd>
This example sets
tgtDir as the tangent direction at the first point through which
the conic hybConic passes.
Dim tgtDir As Reference
... ' Value tgtDir
passingPtIdx = 1
hybConic.SetIntermediateTangent passingPtIdx, tgtDir
Legal values: 1 for the first passing point, and 2 for the second one
dd>
Legal values: 1 if the tangent direction is to be used as is, and -1 if it
must be inverted
dd>
This example sets the direction orientation of the tangent at the first point through which
the conic
hybConic passes to the inverse of the one of the direction used for
the tangent.
passingPtIdx = 1
passingPtTgtOrient = -1
hybConic.SetIntermediateTangentDirectionFlag passingPtIdx, passingPtTgtOrient
Legal values: p = 0.5 (parabola), 0<=p<=0.5 (ellipse), 0.5<= p <=1.0 (hyperbola)
dd>
This example sets
firstDir and secondDir as the tangent directions at the start
and end points of the conic hybConic, and conicParm as the conic parameter.
hybConic.SetStartAndEndTangentsPlusConicParameter firstDir, secondDir, conicParm
Sub-element(s) supported (see
object):
.
dd>
Legal values: This point must differ from the start and end points.
dd>
This example sets
firstDir and secondDir as the tangent directions at the start
and end points of the conic hybConic, and passingPoint as a point through
which the conic must pass.
hybConic.SetStartAndEndTangentsPlusPassingPoint firstDir, secondDir, passingPoint
Legal values: 1 if the tangent direction is to be used as is, and -1 if it
must be inverted
dd>
This example sets the direction orientation of the tangent at the start point of
the conic
hybConic to the inverse of the one of the direction used for
the tangent.
startPtTgtOrient = -1
hybConic.SetStartTangentDirectionFlag startPtTgtOrient
Sub-element(s) supported (see
object):
.
dd>
Legal values: p = 0.5 (parabola), 0<=p<=0.5 (ellipse), 0.5<= p <=1.0 (hyperbola)
dd>
This example sets
tgtIntPoint as the intersection point of the tangents
to the start and end points of the conic hybConic, and conicParm as the conic parameter.
hybConic.SetTangentIntersectPointPlusConicParm tgtIntPoint, conicParm
Sub-element(s) supported (see
object):
.
dd>
Legal values: This point must differ from the start and end points.
Sub-element(s) supported (see
object):
.
dd>
This example sets
tgtIntPoint as the intersection point of the tangents
to the start and end points of the conic hybConic, and passingPoint as a point through
which the conic must pass.
hybConic.SetTangentIntersectPointPlusPassingPoint tgtIntPoint, passingPoint
Sub-element(s) supported (see
object):
.
dd>
Sub-element(s) supported (see
object):
.
dd>
Sub-element(s) supported (see
object):
.
dd>
This example sets
passingPoint1, passingPoint2, and passingPoint3 as the
three intermediate points through which the conic hybConic must pass.
hybConic.SetThreeIntermediatePassingPoints passingPoint1, passingPoint2, passingPoint3
Sub-element(s) supported (see
object):
.
dd>
Sub-element(s) supported (see
object):
.
dd>
Legal values: 1 for the first passing point, and 2 for the second one
dd>
This example sets
passingPoint1 and passingPoint2 as two
intermediate points through which the conic hybConic must pass,
tgtDir as the tangent direction at the passing point designated by passingPointIdx.
hybConic.SetTwoIntermediatePassingPointsPlusOneTangent passingPoint1, passingPoint2, tgtDir, passingPointIdx
This example inverts the direction orientation of the tangent at the end point of
the conic
hybConic.
hybConic.SwitchEndTangentDirection
Legal values: 1 for the first passing point, and 2 for the second one
dd>
This example inverts the direction orientation of the tangent at the first point through which
the conic
hybConic passes.
passingPtIdx = 1
hybConic.SwitchIntermediateTangentDirection passingPtIdx
This example inverts the direction orientation of the tangent at the start point of
the conic
hybConic.
hybConic.SwitchStartTangentDirection