All Frameworks  Class Hierarchy  This Framework  Indexes

AdvancedTopologicalOpe Global Function CATCreateTopGeodesicDistanceTool


CATDistanceTool * CATCreateTopGeodesicDistanceTool(CATGeoFactory* iGeoFactory,
CATTopData* iData,
CATOrientation iOrientation,
CATCompositeLaw* iDistance)
Constructs the object for the geodesic computation. This class is to be used when you wan to create a parallel curve onto a suppport. It does not create directly a curve onto a support. To do this, you must:
  1. Specify the parameters of the offset distance by using CATDistanceTool. This parameters are:
    • the parallelism mode: euclidian or geodesic
    • the side on which the wire is offset, it is computed from the support normal and the wire tangent: Side = Normal^Tangent
    • the law which defines the distance evolution along the wire.
    and they are specified as the arguments of CATCreateTopGeodesicDistanceTool.
  2. Specify the type of relimitation: sharp or round and the support on which the wire is offset. This is done by creating the CATExtrapolParallelTool object.
  3. Create and run the CATTopParallel operator.
Parameters:
iGeoFactory
The pointer to geometry factory.
iData
The pointer to the CATTopData.
iOrientation
The side on which the parallel is computed. The cross product between the shell normal and the wire tangent define the left side.
Legal values : CATOrientationPositive for the left side, CATOrientationNegative for the right side.
iDistance
The pointer to the composite law defining the parallel offset.
Returns:
[out, delete] The pointer to the created operator. To be deleted afer use.

This object is included in the file: CATCreateTopGeodesicDistanceTool.h

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