All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VisualizationBase Class CAT3DArcEllipseRep

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---VisualizationBase.CATRep
        |
        +---VisualizationBase.CAT3DRep
          |
          +---CAT3DArcEllipseRep
 

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


public class CAT3DArcEllipseRep

Class to create the representation of a 3D ellipse or a 3D ellipse arc.
Role: view (a portion of) a 3D ellipse lying in a plane.


Constructor and Destructor Index


o CAT3DArcEllipseRep(CATMathPointf&,CATMathVectorf&,float,float,CATMathVectorf&,float,float,int)
Constructs the representation of an ellipse arc.
o ~CAT3DArcEllipseRep()

Method Index


o Modify(CATMathPointf&,CATMathVectorf&,CATMathVectorf&)
Modify the representation of an ellipse arc.
o Modify(CATMathPointf&,CATMathVectorf&,float,float,CATMathVectorf&,float,float,int)
Modify the representation of an ellipse arc.
o Modify(CATMathPointf&,float,float,float,float)
Modify the representation of an ellipse arc.

Constructor and Destructor


o CAT3DArcEllipseRep
public CAT3DArcEllipseRep( const CATMathPointf& iCenter,
const CATMathVectorf& iNormal,
const float iMajorRadius,
const float iMinorRadius,
const CATMathVectorf& iAxis,
const float iStartAngle= 0.f,
const float iEndAngle=(float) CAT2PI,
const int iStaticSagUsed= 0)
Constructs the representation of an ellipse arc.
Parameters:
iCenter
The center of the ellipse.
iNormal
The normal to the plane of the ellipse.
iMajorRadius
The radius of the ellipse along the major axis, parallel to iAxis.
iMinorRadius
The radius of the ellipse along the minor axis, normal to iAxis.
iAxis
The direction in the plane of the ellipse used as major axis.
iStartAngle
The offset in radian of the beginning of the ellipse arc.
iEndAngle
The offset in radian of the end of the ellipse arc.
iStaticSagUsed
Used to specify whether using a dynamic or a static sag for the ellipse arc.
Legal values:
1
The sag value is static and taken from the settings, and is constant whatever the distance between the view point and the arc ellipse may be
0
The sag value is dynamic and calculated depending on the distance between the view point and the arc ellipse
o ~CAT3DArcEllipseRep
public virtual ~CAT3DArcEllipseRep()

Methods


o Modify
public void Modify( const CATMathPointf& iCenter,
const CATMathVectorf& iNormal,
const CATMathVectorf& iAxis)
Modify the representation of an ellipse arc.
Parameters:
iCenter
The center of the ellipse.
iNormal
The normal to the plane of the ellipse.
iAxis
The direction in the plane of the ellipse used as major axis.
o Modify
public void Modify( const CATMathPointf& iCenter,
const CATMathVectorf& iNormal,
const float iMajorRadius,
const float iMinorRadius,
const CATMathVectorf& iAxis,
const float iStartAngle,
const float iEndAngle,
const int iStaticSagUsed)
Modify the representation of an ellipse arc.
Parameters:
iCenter
The center of the ellipse.
iNormal
The normal to the plane of the ellipse.
iMajorRadius
The radius of the ellipse along the major axis, parallel to iAxis.
iMinorRadius
The radius of the ellipse along the minor axis, normal to iAxis.
iAxis
The direction in the plane of the ellipse used as major axis.
iStartAngle
The offset in radian of the beginning of the ellipse arc.
iEndAngle
The offset in radian of the end of the ellipse arc.
iStaticSagUsed
Used to specify whether using a dynamic or a static sag for the ellipse arc.
Legal values:
1
The sag value is static and taken from the settings, and is constant whatever the distance between the view point and the arc ellipse may be
0
The sag value is dynamic and calculated depending on the distance between the view point and the arc ellipse
o Modify
public void Modify( const CATMathPointf& iCenter,
const float iMajorRadius,
const float iMinorRadius,
const float iStartAngle,
const float iEndAngle)
Modify the representation of an ellipse arc.
Parameters:
iCenter
The center of the ellipse.
iMajorRadius
The radius of the ellipse along the major axis, parallel to iAxis.
iMinorRadius
The radius of the ellipse along the minor axis, normal to iAxis.
iStartAngle
The offset in radian of the beginning of the ellipse arc.
iEndAngle
The offset in radian of the end of the ellipse arc.

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

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