HybridShapeConic (Object)

Represents the hybrid shape conic object.
Role: To access the data of the hybrid shape conic object. This data includes:

Use the to create a HybridShapeConic object.


Properties


Property ConicParameter() As
Returns or sets the conic parameter.
Example:
This example retrieves in conicParm the conic parameter of the conic hybConic.
 Dim conicParm As double 
 Set conicParm = hybConic.ConicParameter
 
Property ConicUserTol() As (Read Only)
Gets or sets the conic User Tolerance.
Example:
This example retrieves in conicUserTol the conic user tolerance of the conic HybridShapeConic.
 Dim oConicUserTol As  CATIALength 
 Set oConicUserTol = HybridShapeConic.conicUserTol
 
See also:
Property EndPoint() As
Returns or sets the conic end point.
Sub-element(s) supported (see object): .
Example:
This example retrieves in endPt the end point of the conic hybConic.
 Dim endPt As Reference 
 Set endPt = hybConic.EndPoint
 
Property EndTangent() As
Returns or sets the tangent direction at the conic end point.
Example:
This example retrieves in endTgt the tangent direction associated with the end point of the conic hybConic.
 Dim endTgt As Reference 
 Set endTgt = hybConic.EndTangent
 
Property StartPoint() As
Returns or sets the conic start point.
Sub-element(s) supported (see object): .
Example:
This example sets startPt as the start point of the conic hybConic.
 Dim startPt As Reference
 ... ' Value startPt
 hybConic.StartPoint startPt
 
Property StartTangent() As
Returns or sets the tangent direction at the conic start point.
Example:
This example sets startTgt as the tangent direction at the start point of the conic hybConic.
 Dim startTgt As Reference
 ... ' Value startTangent
 hybConic.StartTangent startTgt
 
Property SupportPlane() As
Returns or sets the conic supporting plane.
Sub-element(s) supported (see object): .
Example:
This example retrieves in supportPln the supporting plane of the conic hybConic.
 Dim supportPln As Reference 
 Set supportPln = hybConic.SupportPlane
 
Property TangentIntPoint() As
Returns or sets the conic tangent intersection point.
Sub-element(s) supported (see object): .
Example:
This example retrieves in tgtIntPt the tangent intersection point of the conic hybConic.
 Dim tgtIntPt As Reference 
 Set tgtIntPt = hybConic.TangentIntPoint
 

Methods


Sub GetEndTangentDirectionFlag( oOrientation)
Retrieves the tangent direction orientation at the conic end point.
Parameters:
oOrientation
The direction orientation applied to the tangent direction at the conic end point
Legal values: 1 if the tangent direction is used as is, and -1 if it is inverted
Example:
 This example retrieves the direction orientation of the tangent at the end point of
 the conic hybConic.
 
 Dim endPtTgtOrient As long
 hybConic.GetEndTangentDirectionFlag endPtTgtOrient
 
Func GetIntermedTangent( iIndexPoint) As
Retrieves the tangent direction at one of the conic intermediate passing points.
Parameters:
iIndexPoint
An index that designates the passing point to retrieve
Legal values: 1 for the first passing point, and 2 for the second one
oTgtDir
The retrieved tangent direction at the given passing point
Example:
 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)
 
Sub GetIntermediatePoint( iIndexPoint, oEndPoint)
Retrieves one of the conic intermediate passing points.
Parameters:
iIndexPoint
An index that designates the passing point to retrieve
Legal values: 1 for the first passing point, 2 for the second one, and 3 for the third one
oEndPoint
The retrieved passing point
Example:
 This example retrieves in passingPt the second point through which
 the conic hybConic passes.
 
 Dim passingPt As Reference
 passingPtIdx = 2
 hybConic.GetIntermediatePoint passingPtIdx, passingPt
 
Sub GetIntermediateTangentDirectionFlag( iIndexPoint, oOrientation)
Retrieves the tangent direction orientation of one of the conic intermediate points.
Parameters:
iIndexPoint
An index that designates the passing point to retrieve
Legal values: 1 for the first passing point, and 2 for the second one
oOrientation
The direction orientation applied to the tangent direction at the intermediate passing point
Legal values: 1 if the tangent direction is used as is, and -1 if it is inverted
Example:
 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
 
Sub GetStartTangentDirectionFlag( oOrientation)
Retrieves the tangent direction orientation at the conic start point.
Parameters:
oOrientation
The direction orientation applied to the tangent direction at the conic start point
Legal values: 1 if the tangent direction is used as is, and -1 if it is inverted
Example:
 This example retrieves the direction orientation of the tangent at the start point of
 the conic hybConic.
 
 Dim startPtTgtOrient As long
 hybConic.GetStartTangentDirectionFlag startPtTgtOrient
 
Sub SetEndTangentDirectionFlag( iOrientation)
Sets the tangent direction orientation at the conic end point.
Parameters:
iOrientation
The direction orientation to be applied to the tangent direction at the conic end point
Legal values: 1 if the tangent direction is to be used as is, and -1 if it must be inverted
Example:
 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
 
Sub SetIntermediatePoint( iIndexPoint, iEndPoint)
Sets one of the conic intermediate passing points.
Parameters:
iIndexPoint
An index that designates the passing point to retrieve
Legal values: 1 for the first passing point, 2 for the second one, and 3 for the third one
iEndPoint
The passing point to set.
Sub-element(s) supported (see object): .
Example:
 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
 
Sub SetIntermediateTangent( iIndexPoint, iTgtDir)
Sets the tangent direction at one of the conic intermediate passing points.
Parameters:
iIndexPoint
An index that designates the passing point where the tangent direction is to be set
Legal values: 1 for the first passing point, and 2 for the second one
iTgtDir
The direction to set as the tangent direction at the given passing point
Example:
 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
 
Sub SetIntermediateTangentDirectionFlag( iIndexPoint, iOrientation)
Sets the tangent direction orientation of one of the conic intermediate points.
Parameters:
iIndexPoint
An index that designates the passing point to retrieve
Legal values: 1 for the first passing point, and 2 for the second one
iOrientation
The direction orientation to be applied to the tangent direction at the intermediate passing point
Legal values: 1 if the tangent direction is to be used as is, and -1 if it must be inverted
Example:
 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
 
Sub SetStartAndEndTangentsPlusConicParameter( iStartTgt, iEndTgt, iConicParam)
Sets the tangent directions at conic start and end points, and the conic parameter.
Parameters:
iStartTgt
The tangent direction at the start point
iEndTgt
The tangent direction at the end point
iConicParam
The conic parameter
Legal values: p = 0.5 (parabola), 0<=p<=0.5 (ellipse), 0.5<= p <=1.0 (hyperbola)
Example:
 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 SetStartAndEndTangentsPlusPassingPoint( iStartTgt, iEndTgt, iPassingPt)
Sets the tangent directions at conic start and end points, and a passing point.
Parameters:
iStartTgt
The tangent direction at the start point.
Sub-element(s) supported (see object): .
iEndTgt
The tangent direction at the end point
iPassingPt
A point through which the conic must pass.
Legal values: This point must differ from the start and end points.
Example:
 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
 
Sub SetStartTangentDirectionFlag( iOrientation)
Sets the tangent direction orientation at the conic start point.
Parameters:
iOrientation
The direction orientation to be applied to the tangent direction at the conic start point
Legal values: 1 if the tangent direction is to be used as is, and -1 if it must be inverted
Example:
 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 SetTangentIntersectPointPlusConicParm( iTgtInt, iConicParam)
Sets the intersection point of the conic tangents to the start and end points, and the conic parameter.
Parameters:
iTgtInt
The point intersection of the conic tangents to the start and end point.
Sub-element(s) supported (see object): .
iConicParam
The conic parameter
Legal values: p = 0.5 (parabola), 0<=p<=0.5 (ellipse), 0.5<= p <=1.0 (hyperbola)
Example:
 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 SetTangentIntersectPointPlusPassingPoint( iTgtInt, iPassingPt)
Sets the intersection point of the conic tangents to the start and end points, and a passing point.
Parameters:
iTgtInt
The point intersection of the conic tangents to the start and end point.
Sub-element(s) supported (see object): .
iPassingPt
A point through which the conic must pass.
Legal values: This point must differ from the start and end points.
Sub-element(s) supported (see object): .
Example:
 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 SetThreeIntermediatePassingPoints( iPassPt1, iPassPt2, iPassPt3)
Sets three conic intermediate passing points.
Parameters:
iPassPt1
The first intermediate passing point.
Sub-element(s) supported (see object): .
iPassPt2
The second intermediate passing point.
Sub-element(s) supported (see object): .
iPassPt3
The third intermediate passing point.
Sub-element(s) supported (see object): .
Example:
 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 SetTwoIntermediatePassingPointsPlusOneTangent( iPassPt1, iPassPt2, iTgtDir, iIndexPoint)
Sets two conic intermediate passing points and a tangent at one of the passing points.
Parameters:
iPassPt1
The first intermediate passing point.
Sub-element(s) supported (see object): .
iPassPt2
The second intermediate passing point.
Sub-element(s) supported (see object): .
iTgtDir
The tangent direction at one of the intermediate passing points
iIndexPoint
An index indicating the passing point to which the tangent direction applies
Legal values: 1 for the first passing point, and 2 for the second one
Example:
 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
 
Sub SwitchEndTangentDirection()
Inverts the tangent direction orientation at the conic end point.
Example:
 This example inverts the direction orientation of the tangent at the end point of
 the conic hybConic.
 
 hybConic.SwitchEndTangentDirection
 
Sub SwitchIntermediateTangentDirection( iIndexPoint)
Inverts the tangent direction orientation of one of the conic intermediate points.
Parameters:
iIndexPoint
An index that designates the passing point where the tangent direction is to be inverted
Legal values: 1 for the first passing point, and 2 for the second one
Example:
 This example inverts the direction orientation of the tangent at the first point through which
 the conic hybConic passes.
 
 passingPtIdx = 1
 hybConic.SwitchIntermediateTangentDirection passingPtIdx
 
Sub SwitchStartTangentDirection()
Inverts the tangent direction orientation at the conic start point.
Example:
 This example inverts the direction orientation of the tangent at the start point of
 the conic hybConic.
 
 hybConic.SwitchStartTangentDirection