VisualizationFoundation CAT2DArcCircleRep
Usage: you must use this class as is. You should never derive it.
public class CAT2DArcCircleRep
Class to create a representation of a 2D circle arc or a 2D circle.
Constructor and Destructor Index
- o
CAT2DArcCircleRep(float[2],float,float,float,int,int)
- Constructs a 2D circle arc representation.
- o
CAT2DArcCircleRep(double[2],double,double,double,int,int)
- Constructs a 2D circle arc representation.
- o
~CAT2DArcCircleRep()
-
Method Index
- o
GetGeomElement(int)
-
- o
Modify(float[2],float)
- Modifies the center or the radius of the 2D circle arc or the 2D circle.
Constructor and Destructor
o CAT2DArcCircleRep
public CAT2DArcCircleRep( | const | iCenter, |
| const | iRadius, |
| const | iStart_angle | = 0.f, |
| const | iEnd_angle | = 6.2831853f, |
| const | iFill | = NOFILL, |
| const | iStaticSagUsed | = 0) |
-
Constructs a 2D circle arc representation.
- Parameters:
-
- iCenter
- the center of the 2D circle or 2D circle arc, it is a 2D point.
- iRadius
- the radius of the 2D circle or 2D circle arc.
- iStart_angle
- the start angle to construct a 2D circle arc.
legal values: the default value is 0.
By this way, it creates a 2D circle.
- iEnd_angle
- the end angle to construct a 2D circle arc.
legal values: the default value is 2*pi.
By this way, it creates a 2D circle.
- iFill
- the integer which allows to construct a 2D circle arc or a 2D circle
just with edges or filled with graphic attributes.
legal values:
NOFILL : just edges are drawn.
FILL : the dynamic graphic primitive is filled with
graphic attributes.
- iStaticSagUsed
- used to specify wheter using a dynamic or a static sag
for the circle arc visualization
legal values:
0 : the sag value is static and taken from settings,
and is constant whatever the distance between the viewpoint
and the circle arc be
1 : the sage value is dynamic and calculated
depending on the distance between the viewpoint and
the circle arc.
o CAT2DArcCircleRep
public CAT2DArcCircleRep( | const | iCenter, |
| const | iRadius, |
| const | iStart_angle | = 0., |
| const | iEnd_angle | = 6.2831853, |
| const | iFill | = NOFILL, |
| const | iStaticSagUsed | = 0) |
-
Constructs a 2D circle arc representation.
- Parameters:
-
- iCenter
- the center of the 2D circle or 2D circle arc, it is a 2D point.
- iRadius
- the radius of the 2D circle or 2D circle arc.
- iStart_angle
- the start angle to construct a 2D circle arc.
legal values: the default value is 0.
By this way, it creates a 2D circle.
- iEnd_angle
- the end angle to construct a 2D circle arc.
legal values: the default value is 2*pi.
By this way, it creates a 2D circle.
- iFill
- the integer which allows to construct a 2D circle arc or a 2D circle
just with edges or filled with graphic attributes.
legal values:
NOFILL : just edges are drawn.
FILL : the dynamic graphic primitive is filled with
graphic attributes.
- iStaticSagUsed
- used to specify wheter using a dynamic or a static sag
for the circle arc visualization
legal values:
0 : the sag value is static and taken from settings,
and is constant whatever the distance between the viewpoint
and the circle arc be
1 : the sage value is dynamic and calculated
depending on the distance between the viewpoint and
the circle arc.
o ~CAT2DArcCircleRep
public virtual ~CAT2DArcCircleRep( | ) |
-
Methods
o GetGeomElement
public virtual GetGeomElement( | | iIndice) |
-
o Modify
public Modify( | const | iCenter, |
| const | iRadius) |
-
Modifies the center or the radius of the 2D circle arc or the 2D circle.
- Parameters:
-
- iCenter
- the new center of the 2D circle arc or the 2D circle
- iRadius
- the new radius of the 2D circle arc or the 2D circle
This object is included in the file: CAT2DArcCircleRep.h
If needed, your Imakefile.mk should include the module: CATVisFoundation
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.