IGPie2D

IGPie2D represents a pie-shaped wedge. The wedge always has a counterclockwise arc, following the behavior of sin and cos. However, because the coordinate system in Graphics is by default opposite from the mathematical one, the arcs go clockwise.


IGPie2D - Member Functions and Data by Group

Constructors & Destructor

Use the constructors and destructor in this group to create and destroy objects of class IGPie2D.


[view class]
~IGPie2D
public:
virtual ~IGPie2D()
Destroys the pie-shaped wedge.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
IGPie2D
Constructs a pie-shaped wedge object of class IGPie2D.


Overload 1
Constructs a pie-shaped wedge representation object using the given ellipse and two angles.
public:
IGPie2D( const IGEllipse2D& e, GDegrees angle1, GDegrees angle2, bool EOFill = true )
Use this constructos to create a pie-shaped wedge representation object using the given ellipse and two angles. This constructor sets the curve to an elliptical arc from angle1 to angle2, and then connects the end points with c1 discontinuity through the center of the ellipse. This is always a counterclockwise arc.

e
The ellipse.
angle1
The first angle.
angle2
The second angle.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
Copy constructor.
public:
IGPie2D(const IGPie2D&)
Use the copy constructor to create a pie-shaped wedge object that is copied from the given one.

IGPie2D
A constant reference to the pie to be copied.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
Default constructor that creates an empty pie-shaped wedge representation object.
public:
IGPie2D()
Use the default constructor to create an empty pie-shaped wedge representation object, that has 0 points, order 0. The only operators allowed on empty pie are assignment and stream in.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IGPie2D - Inherited Member Functions and Data

Inherited Public Functions

IBaseCurve
IGCurve2D
IGLoop2D

Inherited Public Data

Inherited Protected Functions

IBaseCurve
IGCurve2D

Inherited Protected Data