Indexes   

HybridShapeLineTangency (Object)

Line tangent to a curve.
Role: To access data of the line feature created to be tangent to a curve at a given point.

Use the CATIAHybridShapeFactory to create a HybridShapeLineTangency object.

See also:
Reference
See also:
Length
See also:
HybridShapeFactory

Property Index

BeginOffset
Returns the start length of the line.
Curve
Returns or Sets the curve to which the line will be tangent.
EndOffset
Returns the end length of the line.
Orientation
Returns or Sets the line orientation.
Point
Returns or Sets the starting point of the line.
Support
Returns or Sets the support surface.

Method Index

GetLengthType
Gets the length type Default is 0.
GetSymmetricalExtension
Gets whether the symmetrical extension of the line is active.
RemoveSupport
Removes the support surface.
SetLengthType
Sets the length type Default is 0.
SetSymmetricalExtension
Sets the symmetrical extension of the line (start = -end).

Properties


o Property BeginOffset() As (Read Only)
Returns the start length of the line.
Start length : extension of the line, beginning at the starting point
Example:
This example retrieves in oStart the beginning offset length for the LineTangency hybrid shape feature.
 Dim oStart As  CATIALength 
 Set oStart = LineTangency.BeginOffset
 
o Property Curve() As
Returns or Sets the curve to which the line will be tangent.
Sub-element(s) supported (see
Boundary object): TriDimFeatEdge or BiDimFeatEdge.
Example:
This example retrieves in oCurve the reference curve for the LineTangency hybrid shape feature.
 Dim oCurve As Reference
 Set oCurve = LineTangency.Curve
 
o Property EndOffset() As (Read Only)
Returns the end length of the line.
End length : extension of the line, beginning at the ending point
Example:
This example retrieves in oEnd the starting length for the LineTangency hybrid shape feature.
 Dim oEnd As  CATIALength 
 Set oEnd = LineTangency.EndOffset
 
o Property Orientation() As
Returns or Sets the line orientation.
Orientation allows to reverse the line direction from the reference point.
For a line of L length, it is the same as creating this line with -L length : Orientation : can be 1 or -1
Example:
This example retrieves in oOrientation the starting length for the LineTangency hybrid shape feature.
 Dim oOrientation As long
 Set oOrientation = LineTangency.Orientation
 
o Property Point() As
Returns or Sets the starting point of the line.
Sub-element(s) supported (see
Boundary object): Vertex.
Example:
This example retrieves in oPoint the starting point for the LineTangency hybrid shape feature.
 Dim oPoint As Reference
 Set oPoint = LineTangency.Point
 
o Property Support() As
Returns or Sets the support surface.
Note: Support surface is not mandatory

Sub-element(s) supported (see
Boundary object): Face.
Example:
This example retrieves in oSurface the suupporting Surface (if exist) for the LineTangency hybrid shape feature.
 Dim oSurface As Reference
 Set oSurface = LineTangency.Surface
 

Methods


o Func GetLengthType() As
Gets the length type Default is 0.
Parameters:
oType
The length type = 0 : length - the line is limited by its extremities = 1 : infinite - the line is infinite = 2 : infinite start point - the line is infinite on the side of the start point = 3 : infinite end point - the line is infinite on the side of the end point
o Func GetSymmetricalExtension() As
Gets whether the symmetrical extension of the line is active.
Parameters:
oSym
Symetry flag
o Sub RemoveSupport()
Removes the support surface.
o Sub SetLengthType( iType)
Sets the length type Default is 0.
Parameters:
iType
The length type = 0 : length - the line is limited by its extremities = 1 : infinite - the line is infinite = 2 : infinite start point - the line is infinite on the side of the start point = 3 : infinite end point - the line is infinite on the side of the end point
o Sub SetSymmetricalExtension( iSym)
Sets the symmetrical extension of the line (start = -end).
Parameters:
iSym
Symetry flag

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