![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
This class defines a circle. More...
#include <ilviews/maps/geometry/geocircle.h>
Public Member Functions | |
| IlvMapCircle (const IlvCoordinate &control1, const IlvCoordinate &control2, const IlvCoordinate &control3) | |
Initializes an instance of IlvMapCircle by giving the three different points that are on the circle. | |
| IlvMapCircle (const IlvCoordinate ¢er, IlDouble radius) | |
| Initializes an instance of circle by specifying its center and its radius. | |
| virtual IlvMapGeometry * | copy () const |
| Returns a copy of the object. | |
| const IlvCoordinate & | getCenter () const |
| Returns the center of the circle. | |
| virtual IlvClassInfo * | getClassInfo () const |
Returns the IlvClassInfo of the instance. | |
| IlDouble | getRadius () const |
| Returns the radius of the circle. | |
| virtual const IlvMapGeometry * | getSubElement (IlUInt index) const |
| Returns the sub element of index index if the geometry is a collection. | |
| virtual IlUInt | getSubElementCount () const |
| Returns the number of elements contained in the geometry if the geometry is a collection. | |
| virtual IlBoolean | isCollection () const |
Returns IlTrue if the geometry is a collection of other geometries. | |
| void | setCenter (const IlvCoordinate &c) |
| Sets the center of the circle. | |
| void | setRadius (IlDouble rad) |
| Sets the radius of the circle. | |
This class defines a circle.
The instances of this class can be rendered by an IlvDefaultFeatureRenderer or by an IlvDefaultCurveRenderer. Library: ilvmaps
| IlvMapCircle::IlvMapCircle | ( | const IlvCoordinate & | center, | |
| IlDouble | radius | |||
| ) |
Initializes an instance of circle by specifying its center and its radius.
| center | The center of the circle. | |
| radius | The radius of the circle. |
| IlvMapCircle::IlvMapCircle | ( | const IlvCoordinate & | control1, | |
| const IlvCoordinate & | control2, | |||
| const IlvCoordinate & | control3 | |||
| ) |
Initializes an instance of IlvMapCircle by giving the three different points that are on the circle.
| control1 | First control point. | |
| control2 | Second control point. | |
| control3 | Third control point. |
| virtual IlvMapGeometry* IlvMapCircle::copy | ( | ) | const [virtual] |
Returns a copy of the object.
IlvMapGeometry that must be deleted by the user. Implements IlvMapCurve.
| const IlvCoordinate& IlvMapCircle::getCenter | ( | ) | const |
Returns the center of the circle.
| virtual IlvClassInfo* IlvMapCircle::getClassInfo | ( | ) | const [virtual] |
Returns the IlvClassInfo of the instance.
IlvClassInfo that should not be modified nor deleted. Implements IlvMapCurve.
| IlDouble IlvMapCircle::getRadius | ( | ) | const |
Returns the radius of the circle.
| virtual const IlvMapGeometry* IlvMapCircle::getSubElement | ( | IlUInt | index | ) | const [virtual] |
Returns the sub element of index index if the geometry is a collection.
Otherwise, it returns a null pointer.
Implements IlvMapGeometry.
| virtual IlUInt IlvMapCircle::getSubElementCount | ( | ) | const [virtual] |
Returns the number of elements contained in the geometry if the geometry is a collection.
Otherwise, it returns 0.
0. Implements IlvMapGeometry.
| virtual IlBoolean IlvMapCircle::isCollection | ( | ) | const [virtual] |
Returns IlTrue if the geometry is a collection of other geometries.
The composite geometries predefined in Rogue Wave Views Maps are: IlvMapGeometryCollection, IlvMapMultiPoint, IlvMapSegmentString and its subclasses, IlvMapMultiCurve and IlvMapMultiArea.
IlTrue if the geometry is a collection of other geometries. Implements IlvMapGeometry.
| void IlvMapCircle::setCenter | ( | const IlvCoordinate & | c | ) |
Sets the center of the circle.
| the | new center of the circle |
| void IlvMapCircle::setRadius | ( | IlDouble | rad | ) |
Sets the radius of the circle.
| the | new radius of the circle |
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.