GMOperatorsInterfaces Global Function CATCGMCreateTopLineFromDirection


CATCGMCreateTopLineFromDirection( iFactory,
iTopData,
iOriginPoint,
const iDirection,
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 method.

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

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.