VisualizationFoundation CAT2DArcEllipseRep

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


public class CAT2DArcEllipseRep

Class to create a representation of a 2D ellipse arc or a 2D ellipse.


Constructor and Destructor Index


o CAT2DArcEllipseRep(float[2],float,float,float,float,float,int,int)
Constructs a 2D ellipse arc representation.
o CAT2DArcEllipseRep(double[2],double,double,double,double,double,int,int)
Constructs a 2D ellipse arc representation.
o ~CAT2DArcEllipseRep()

Constructor and Destructor


o CAT2DArcEllipseRep
public CAT2DArcEllipseRep( const iCenter,
const iXRadius,
const iYRadius,
const iStart_angle= 0.f,
const iEnd_angle= 6.2831853f,
const iOffset= 0.f,
const iFill= NOFILL,
const iStaticSagUsed= 0)
Constructs a 2D ellipse arc representation.
Parameters:
iCenter
the center of the 2D ellipse or 2D ellipse arc, it is a 2D point.
iXRadius
the radius among X axis of the 2D ellipse or 2D ellipse arc.
iYRadius
the radius among Y axis of the 2D ellipse or 2D ellipse arc.
iStart_angle
the start angle to construct a 2D ellipse arc.
legal values: the default value is 0. By this way, it creates a 2D ellipse.
iEnd_angle
the end angle to construct a 2D ellipse arc.
legal values: the default value is 2*pi. By this way, it creates a 2D ellipse.
iOffset
the angle between X axis and main axis of the 2D ellipse. By this way, it is possible to rotate the 2D ellipse arc or the 2D ellipse in the 2D plan.
iFill
the integer which allows to construct a 2D ellipse arc or a 2D ellipse just with edges or filled with some graphic attributes.
legal values:
NOFILL : just edges are drawn.
FILL : the 2D ellipse arc or the 2D ellipse is filled with graphic attributes.
iStaticSagUsed
used to specify wheter using a dynamic or a static sag for the ellipse 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 ellipse arc be
1 : the sage value is dynamic and calculated depending on the distance between the viewpoint and the ellipse arc.
o CAT2DArcEllipseRep
public CAT2DArcEllipseRep( const iCenter,
const iXRadius,
const iYRadius,
const iStart_angle= 0.,
const iEnd_angle= 6.2831853,
const iOffset= 0.,
const iFill= NOFILL,
const iStaticSagUsed= 0)
Constructs a 2D ellipse arc representation.
Parameters:
iCenter
the center of the 2D ellipse or 2D ellipse arc, it is a 2D point.
iXRadius
the radius among X axis of the 2D ellipse or 2D ellipse arc.
iYRadius
the radius among Y axis of the 2D ellipse or 2D ellipse arc.
iStart_angle
the start angle to construct a 2D ellipse arc.
legal values: the default value is 0. By this way, it creates a 2D ellipse.
iEnd_angle
the end angle to construct a 2D ellipse arc.
legal values: the default value is 2*pi. By this way, it creates a 2D ellipse.
iOffset
the angle between X axis and main axis of the 2D ellipse. By this way, it is possible to rotate the 2D ellipse arc or the 2D ellipse in the 2D plan.
iFill
the integer which allows to construct a 2D ellipse arc or a 2D ellipse just with edges or filled with some graphic attributes.
legal values:
NOFILL : just edges are drawn.
FILL : the 2D ellipse arc or the 2D ellipse is filled with graphic attributes.
iStaticSagUsed
used to specify wheter using a dynamic or a static sag for the ellipse 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 ellipse arc be
1 : the sage value is dynamic and calculated depending on the distance between the viewpoint and the ellipse arc.
o ~CAT2DArcEllipseRep
public virtual ~CAT2DArcEllipseRep()

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

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