AdvancedMathematics Global Function CATProjectPointOnSegmentND
All Frameworks Class Hierarchy This Framework Indexes
AdvancedMathematics Global Function CATProjectPointOnSegmentND
CATBoolean CATProjectPointOnSegmentND( | const CATLONG32 | iN, |
| const double* | iPoint, |
| const double* | iSegmentStartPoint, |
| const double* | iSegmentEndPoint, |
| double* | ioProjectedPoint, |
| const CATTolerance& | 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 © 2003, Dassault Systèmes. All rights reserved.