Rogue Wave Views Maps Package API Reference Guide |
Rogue Wave Views Documentation Home |
This abstract class is the base class of the map geometry objects. More...
#include <ilviews/maps/geometry.h>
Public Member Functions | |
virtual IlvMapGeometry * | copy () const =0 |
Returns a copy of the object. More... | |
virtual IlvClassInfo * | getClassInfo () const =0 |
Returns the IlvClassInfo of the instance. More... | |
virtual const IlvMapGeometry * | getSubElement (IlUInt index) const =0 |
Returns a sub element of a collection geometry. More... | |
virtual IlUInt | getSubElementCount () const =0 |
Returns the number of elements contained in the geometry if the geometry is a collection. More... | |
virtual IlBoolean | isCollection () const =0 |
Checks if this geometry is a collection of other geometries. More... | |
Static Public Member Functions | |
static IlvClassInfo * | ClassInfo () |
Returns the class info. More... | |
Protected Member Functions | |
IlvMapGeometry () | |
Constructor. More... | |
This abstract class is the base class of the map geometry objects.
Library: ilvmaps
The IlvMapGeometry
classes represent the shape of the map features.
The instances of the predefined subclasses of IlvMapGeometry
can be rendered by an IlvDefaultFeatureRenderer
.
|
protected |
Constructor.
Initializes an instance of the class.
|
static |
Returns the class info.
This static function, redefined for each subclass of IlvMapGeometry
returns the IlvClassInfo
of the class.
IlvClassInfo
that should not be modified nor deleted.
|
pure virtual |
Returns a copy of the object.
IlvMapGeometry
that must be deleted by the user. Implemented in IlvMapRaster, IlvMapPolygon, IlvMapLineString, IlvMapSegmentString, IlvMapImage, IlvMapMultiCurve, IlvMapMultiArea, IlvMapCircle, IlvMapArcSegment, IlvMapSegmentRing, IlvMapSegment, IlvMapText, IlvMapMultiPoint, IlvMapPoint, IlvMapCircularRing, IlvMapArcString, IlvMapGeometryCollection, IlvMapArea, IlvMapLinearSegment, IlvMapCurveString, IlvMapRing, and IlvMapCurve.
|
pure virtual |
Returns the IlvClassInfo
of the instance.
IlvClassInfo
that should not be modified nor deleted. Implemented in IlvMapRaster, IlvMapPolygon, IlvMapLineString, IlvMapSegmentString, IlvMapImage, IlvMapMultiCurve, IlvMapMultiArea, IlvMapCircle, IlvMapArcSegment, IlvMapSegmentRing, IlvMapText, IlvMapMultiPoint, IlvMapPoint, IlvMapCircularRing, IlvMapArcString, IlvMapGeometryCollection, IlvMapArea, IlvMapLinearSegment, IlvMapCurveString, IlvMapRing, and IlvMapCurve.
|
pure virtual |
Returns a sub element of a collection geometry.
index | The index of the sub-geometry to be retrieved. |
0
if it is not. Implemented in IlvMapRaster, IlvMapPolygon, IlvMapImage, IlvMapSegmentString, IlvMapMultiCurve, IlvMapMultiArea, IlvMapCircle, IlvMapArcSegment, IlvMapSegmentRing, IlvMapText, IlvMapMultiPoint, IlvMapPoint, IlvMapCircularRing, IlvMapGeometryCollection, and IlvMapLinearSegment.
|
pure virtual |
Returns the number of elements contained in the geometry if the geometry is a collection.
0
. Implemented in IlvMapRaster, IlvMapPolygon, IlvMapImage, IlvMapSegmentString, IlvMapMultiCurve, IlvMapMultiArea, IlvMapCircle, IlvMapArcSegment, IlvMapSegmentRing, IlvMapText, IlvMapMultiPoint, IlvMapPoint, IlvMapCircularRing, IlvMapGeometryCollection, and IlvMapLinearSegment.
|
pure virtual |
Checks if this 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. Implemented in IlvMapRaster, IlvMapPolygon, IlvMapImage, IlvMapSegmentString, IlvMapMultiCurve, IlvMapMultiArea, IlvMapCircle, IlvMapArcSegment, IlvMapSegmentRing, IlvMapText, IlvMapMultiPoint, IlvMapPoint, IlvMapCircularRing, IlvMapGeometryCollection, and IlvMapLinearSegment.
© Copyright 2018, 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.