All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

HybridShapeLineAngle (Object)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---AnyObject
          |
          +---HybridShape
            |
            +---Line
              |
              +---HybridShapeLineAngle
 


Line defined from a reference curve, a plane or a surface, a point and an angle.
Role: Allows to access data of the the line feature created with an angle to a curve.

Property Index

Angle
Role: Get the angle to the reference curve of the line.
BeginOffset
Role: Get the start length of the line.
Curve
Role: Get the reference curve.
EndOffset
Role: Get the end length of the line.
Geodesic
Role: Get geodesic mode.
Orientation
Role: Get the line orientation.
Point
Role: Get the starting point of the line.
Surface
Role: Get the support surface.

Method Index

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

Properties


o Property Angle() As CATIAAngle (Read Only)
Role: Get the angle to the reference curve of the line.
Parameters:
oAngle
angle
o Property BeginOffset() As CATIALength (Read Only)
Role: Get the start length of the line.
Parameters:
oStart
start length
o Property Curve() As CATIAReference
Role: Get the reference curve.
Parameters:
oCurve
reference curve.
o Property EndOffset() As CATIALength (Read Only)
Role: Get the end length of the line.
Parameters:
oEnd
end length
o Property Geodesic() As boolean
Role: Get geodesic mode. If geodesic, the line lies on the support surface, otherwise the surface is only used to compute the line direction.
Parameters:
oGeod
Geodesic boolean
o Property Orientation() As long
Role: Get 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.
Parameters:
oOrientation
orientation : can be 1 or -1
o Property Point() As CATIAReference
Role: Get the starting point of the line.
Parameters:
oPoint
starting point.
o Property Surface() As CATIAReference
Role: Get the support surface.
Parameters:
oSurface
support surface.

Methods


o Func GetLengthType() As long
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 boolean
Gets whether the symmetrical extension of the line is active.
Parameters:
oSym
Symetry flag
o Sub SetLengthType(long 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(boolean iSym)
Sets the symmetrical extension of the line (start = -end).
Parameters:
iSym
Symetry flag

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