All Frameworks  Class Hierarchy  This Framework  Indexes

BasicTopologicalOpe Global Function CATCreateTopLineOperatorFromPoints


CATTopLineOperator* CATCreateTopLineOperatorFromPoints(CATGeoFactory* iFactory,
CATTopData* iTopData,
CATBody* iOriginPoint,
CATBody* iSecondPoint)
Creates a topological line operator that builds a line passing through two points.
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).
iSecondPoint
A pointer to the second point body, defining the line. This body must only contain one point (vertex).
Returns:
The pointer to the created operator. To delete with the usual C++ delete operator.

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.