All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VisualizationBase Class CAT2DArcCircleRep

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---VisualizationBase.CATRep
        |
        +---VisualizationBase.CAT2DRep
          |
          +---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(double[2],double,double,double,int,int)
Constructs a 2D circle arc representation.
o CAT2DArcCircleRep(float[2],float,float,float,int,int)
Constructs a 2D circle arc representation.
o ~CAT2DArcCircleRep()

Method Index


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 double[2] iCenter,
const double iRadius,
const double iStart_angle= 0.,
const double iEnd_angle= 6.2831853,
const int iFill= NOFILL,
const int 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 float[2] iCenter,
const float iRadius,
const float iStart_angle= 0.f,
const float iEnd_angle= 6.2831853f,
const int iFill= NOFILL,
const int 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 Modify
public void Modify( const float[2] iCenter,
const float 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: CATViz

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