All Frameworks Class Hierarchy This Framework Previous Next Indexes
ConstraintModeler Class CATDimMath
CATDimMath
Usage: you must use this class as is. You should never derive it.
public class CATDimMath
- Deprecated:
- V5R15
do not use
Class for 3D constraint visualization.
Role:All the characteristic points for constraint visualization
are stored in this class .
This is an example of visualization for a vertical oriented length constraint.
----- + callout
/
/
p2dl!<----------*---------->!p1dl
! ^ !
! ! !
! !vertical !
! !offset !
! ! !
! ! !
pt2 + ! !
\ ! !
\ ! !
\ ! !
\ ! !
\ !
center + !
\ !
\ !
\ !
\ ! ^
\ ! |
+ pt1 | dir
Constructor and Destructor Index
- o
CATDimMath()
- Constructs a CATDimMath.
- o
CATDimMath(CATDimMath&)
- Copy Constructor of CATDimMath.
- o
~CATDimMath()
-
Method Index
- o
GetDefaultOffset()
- Gets dimension initial offset.
- o
SetDefaultOffset(double)
- Sets dimension initial offset.
- o
Transform(CATMathTransformation&,int)
- Applies transformation to pt1, pt2, dir, w2, axis,
and eventually to p1dl, p2dl and callout.
- o
operator =(CATDimMath&)
- Copy Constructor of CATDimMath.
Data Member Index
- o
angle_sector:3
- Sets by EvalPosition: Angles.
- o
angle_type:2
- Sets by EvalPosition: Angles : 0 /pi/2*pi/Unspecified.
- o
axis
- Data member: axis ( it is the normal of the dimension plane ).
- o
callout
- Data member: callout anchor point.
- o
cclockwise:1
- Data member: rotation way
- o
center
- Data member: center (angle/radius/diameter).
- o
dir
- Data member: dimension direction.
- o
lessthanPI:1
- Declares that arcs are less than pi.
- o
p1dl
- Data member: dimension line first point.
- o
p2dl
- Data member: dimension line second point.
- o
pt1
- Data member: first extremity of extension line.
- o
pt2
- Data member: second extremity of extension line.
- o
w2
- Data member: second dimension direction (angular case).
Constructor and Destructor
o CATDimMath
-
Constructs a CATDimMath.
o CATDimMath
-
Copy Constructor of CATDimMath.
o ~CATDimMath
public virtual ~CATDimMath( | ) |
-
Methods
o GetDefaultOffset
public double GetDefaultOffset( | )const |
-
Gets dimension initial offset.
o SetDefaultOffset
public void SetDefaultOffset( | double | value) |
-
Sets dimension initial offset.
- Parameters:
-
- oValue
- The default offset value.
o Transform
-
Applies transformation to pt1, pt2, dir, w2, axis,
and eventually to p1dl, p2dl and callout.
- Parameters:
-
- iMatrix
- The matrix of transformation.
- iAll
- Optional value.
o operator =
-
Copy Constructor of CATDimMath.
Data Members
o angle_sector:3
public unsigned angle_sector:3
-
Sets by EvalPosition: Angles.
o angle_type:2
public unsigned angle_type:2
-
Sets by EvalPosition: Angles : 0 /pi/2*pi/Unspecified.
o axis
public CATMathDirection axis
-
Data member: axis ( it is the normal of the dimension plane ).
o callout
public CATMathPoint callout
-
Data member: callout anchor point.
o cclockwise:1
public unsigned cclockwise:1
-
Data member: rotation way
o center
public CATMathPoint center
-
Data member: center (angle/radius/diameter).
o dir
public CATMathDirection dir
-
Data member: dimension direction.
o lessthanPI:1
public unsigned lessthanPI:1
-
Declares that arcs are less than pi.
o p1dl
public CATMathPoint p1dl
-
Data member: dimension line first point.
o p2dl
public CATMathPoint p2dl
-
Data member: dimension line second point.
o pt1
public CATMathPoint pt1
-
Data member: first extremity of extension line.
o pt2
public CATMathPoint pt2
-
Data member: second extremity of extension line.
o w2
public CATMathDirection w2
-
Data member: second dimension direction (angular case).
This object is included in the file: CATDimMath.h
If needed, your Imakefile.mk should include the module: CATConstraintModeler