All Frameworks  Class Hierarchy  This Framework  Indexes

BasicTopologicalOpe Global Function CATCreateTopLineFromDirection


CATBody* CATCreateTopLineFromDirection(CATGeoFactory* iFactory,
CATTopData* iTopData,
CATBody* iOriginPoint,
const CATMathVector& iDirection,
double iLength)
Creates a line body passing through a point with a given direction.
Parameters:
iFactory
The factory that creates the resulting body.
iTopData
The pointer to the data defining the software configuration and the journal. If the journal inside iTopData is NULL, it is not filled.
iOriginPoint
The pointer to the point body, origin of the line. This body must only contain one point (vertex).
iDirection
The vector defining the line direction.
iLength
The length of the line from the origin point.
Returns:
The pointer to the created line body. To remove with the CATICGMContainer.Remove method.

This object is included in the file: CATTopLineOperator.h
If needed, your Imakefile.mk should include the module: CATBasicTopologicalOpe

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