VisualizationFoundation 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)
o ~CAT3DArcEllipseRep()

Method Index


o CreateRep(CATMathPointf&,CATMathVectorf&,float,float,CATMathVectorf&,float,float,int)
Constructs the representation of an ellipse arc.
o Modify(CATMathPointf&,float,float,float,float)
Modify the representation of an ellipse arc.
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.

Constructor and Destructor


o CAT3DArcEllipseRep
public CAT3DArcEllipseRep( const iCenter,
const iNormal,
const iMajorRadius,
const iMinorRadius,
const iAxis,
const iStartAngle= 0.f,
const iEndAngle=(float) CAT2PI,
const iStaticSagUsed= 0)
Deprecated:
R417 : Use CreateRep instead.
o ~CAT3DArcEllipseRep
public virtual ~CAT3DArcEllipseRep()

Methods


o CreateRep
public static CreateRep( const iCenter,
const iNormal,
const iMajorRadius,
const iMinorRadius,
const iAxis,
const iStartAngle= 0.f,
const iEndAngle=(float) CAT2PI,
const 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 Modify
public Modify( const iCenter,
const iMajorRadius,
const iMinorRadius,
const iStartAngle,
const 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.
o Modify
public Modify( const iCenter,
const iNormal,
const 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 Modify( const iCenter,
const iNormal,
const iMajorRadius,
const iMinorRadius,
const iAxis,
const iStartAngle,
const iEndAngle,
const 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

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

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