GMOperatorsInterfaces CATDynDraftParam

Usage: you must use this class as is. You should never derive it.


public class CATDynDraftParam

Class defining the angle properties of an edge in a draft.

A CATDynDraftParam is defined by an edge and an angle value. A ratio on this edge can be given to detail the location of the point on which the radius value is given. This is especially used for variable angle draft. In case of variable draft moreover, several CATDynDraftParam must be created, referencing different edges, radius and locations.

See also:
, ,


Constructor and Destructor Index


o CATDynDraftParam(CATCell*,double&,CATAngle&)
Constructs a draft parameter definition.

Method Index


o GetAngle()
Returns the angle value associated with the edge of a draft ribbon.
o GetLocation()
Returns the cell on which the angle is defined.
o GetRatio()
Returns the ratio defining the location of the point on the edge.

Constructor and Destructor


o CATDynDraftParam
public CATDynDraftParam( iLocation,
iRatio,
iAngle)
Constructs a draft parameter definition.
Parameters:
iLocation
The pointer to the cell (edge) on which the angle applies.
iRatio
The pointer to the ratio of the edge length which defines the point where the angle is defined.
Legal values: 0 <= iRatio <= 1.
iAngle
The value of the angle.

Methods


o GetAngle
public GetAngle()
Returns the angle value associated with the edge of a draft ribbon.
Returns:
The angle value.
o GetLocation
public GetLocation()
Returns the cell on which the angle is defined.
Returns:
The pointer to the cell.
o GetRatio
public GetRatio()
Returns the ratio defining the location of the point on the edge.
Returns:
The ratio value, if there is one defined. Use first HasRatio, to test whether this value is defined.

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

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