AdvancedMathematics Global Function CATProjectPointOnSegmentND
CATProjectPointOnSegmentND( | const | iN, |
| const | iPoint, |
| const | iSegmentStartPoint, |
| const | iSegmentEndPoint, |
| | ioProjectedPoint, |
| const | iTolObject | =CATGetDefaultTolerance()) |
-
Projects a point on a segment in a N dimensional space.
- Parameters:
-
- iN
- The dimension.
- iPoint
- The array of the coordinates of the point to project.
- iSegmentStartPoint
- The array of the coordinates of the first point of the segment.
- iSegmentEndPoint
- The array of the coordinates of the last point of the segment.
- ioProjectedPoint
- The coordinates of the projected point on the line.
- iTolObject
- The default tolerance.
- Returns:
- TRUE if the projected point belongs to the segment.
This object is included in the file: CATMathSetOfPointsND.h
If needed, your Imakefile.mk should include the module: CATAdvancedMathematics
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.