IGConicEndCenterEnd

The IGConicEndCenterEnd class is one of several lightweight classes derived from IGCurve2D. Its sole purpose is to disambiguate the constructors for arcs having similar arguments. It creates a curve as a conic with tangents perpendicular to ab and bc and centered about the second point. Once created, all of the curve methods apply. Applications shouldn't define variables with these class; use IGCurve2D and rely on these only for their constructors, for example, IGCurve2D myArc = IGConicEndCenterEnd(a, b, c);. These classes may be replaced in the future with inline constructors contained within the curve class.


IGConicEndCenterEnd - Member Functions and Data by Group

Constructors & Destructor

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


[view class]
~IGConicEndCenterEnd
public:
virtual ~IGConicEndCenterEnd()
Destroys an object of class IGConicEndCenterEnd.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
IGConicEndCenterEnd
Constructs a conic arc with tangents perpendicular to p0p1 and p2p1 and centered about p1. If the vectors p0p1 and p2p1 are equal, then this generates a circular arc of less than 180 degrees. The arc goes from p0 to p2, with the center of the circle, or ellipse, the true center. If the Boolean value otherArc is set to true, then all of the circle except for this portion is created.


Overload 1
Copy constructor.
public:
IGConicEndCenterEnd(const IGConicEndCenterEnd&)
Use the copy constructor to create an IGConicEndCenterEnd object that is copied from the given one.

IGConicEndCenterEnd
A constant reference to the arc that is copied.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
public:
IGConicEndCenterEnd( const IGPoint2D& p0, const IGPoint2D& centerPt, const IGPoint2D& p2, bool otherArc = false )
Use this constructor to create an IGConicEndCenterEnd object that is copied from the given one.

p0
The first control point (p0).
centerPt
The second control point (p1).
p2
The third control point (p2).
otherArc
Determines whether the remaining portion of the circle is created. The default value is FALSE.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
Default constructor which does nothing.
public:
IGConicEndCenterEnd()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IGConicEndCenterEnd - Inherited Member Functions and Data

Inherited Public Functions

IBaseCurve
IGCurve2D

Inherited Public Data

Inherited Protected Functions

IBaseCurve
IGCurve2D

Inherited Protected Data