SketcherInterfaces Line2D (Object)
All Frameworks Object Hierarchy This Framework Indexes
Line2D (Object)
Class defining a line in 2D Space.
Method Index
-
GetDirection
- Returns the unit-vector pointing in the direction of the
line.
-
GetOrigin
- Returns a point lying on the line
-
SetData
- Modifies the caracteristics of the infinite line
Methods
o Sub GetDirection( | | oDirection) |
-
Returns the unit-vector pointing in the direction of the
line.
- Parameters:
-
- oDirection[0]
- The X Coordinate of the unit vector pointing in the
direction of the line
- oDirection[1]
- The Y Coordinate of the unit vector pointing in the
direction of the line
o Sub GetOrigin( | | oOrigin) |
-
Returns a point lying on the line
- Parameters:
-
- oPoint[0]
- The X Coordinate of a point lying on the line
- oPoint[1]
- The Y Coordinate of a point lying on the line
o Sub SetData( | | iX, |
| | iY, |
| | iXDirection, |
| | iYDirection) |
-
Modifies the caracteristics of the infinite line
- Parameters:
-
- iX
- The X Coordinate of a point lying on the line
- iY
- The Y Coordinate of a point lying on the line
- iXDirection
- The X Coordinate of the unit vector pointing in the
direction of the line
- iYDirection
- The Y Coordinate of the unit vector pointing in the
direction of the line
Copyright © 2003, Dassault Systèmes. All rights reserved.