Rogue Wave Views 5.6 |
Rogue Wave Views |
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. | |
virtual IlvClassInfo * | getClassInfo () const =0 |
Returns the IlvClassInfo of the instance. | |
virtual const IlvMapGeometry * | getSubElement (IlUInt index) const =0 |
Returns the sub element of index index if the geometry is a collection. | |
virtual IlUInt | getSubElementCount () const =0 |
Returns the number of elements contained in the geometry if the geometry is a collection. | |
virtual IlBoolean | isCollection () const =0 |
Returns IlTrue if the geometry is a collection of other geometries. | |
Static Public Member Functions | |
static IlvClassInfo * | ClassInfo () |
Returns the class info. | |
Protected Member Functions | |
IlvMapGeometry () | |
Constructor. |
This abstract class is the base class of the map geometry objects.
The IlvMapGeometry
classes represent the shape of the map features. There is a list of predefined geometries in the package ilog.views.maps.geometry
. The instances of the predefined subclasses of IlvMapGeometry
can be rendered by an IlvDefaultFeatureRenderer
. Library: ilvmaps
IlvMapGeometry::IlvMapGeometry | ( | ) | [protected] |
Constructor.
Initializes an instance of the class.
static IlvClassInfo* IlvMapGeometry::ClassInfo | ( | ) | [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. Reimplemented in IlvMapArea, IlvMapCurve, and IlvMapRing.
virtual IlvMapGeometry* IlvMapGeometry::copy | ( | ) | const [pure virtual] |
Returns a copy of the object.
IlvMapGeometry
that must be deleted by the user. Implemented in IlvMapArcSegment, IlvMapArcString, IlvMapArea, IlvMapCircle, IlvMapCircularRing, IlvMapGeometryCollection, IlvMapCurve, IlvMapCurveString, IlvMapImage, IlvMapLinearSegment, IlvMapLineString, IlvMapMultiArea, IlvMapMultiCurve, IlvMapMultiPoint, IlvMapPoint, IlvMapPolygon, IlvMapRaster, IlvMapRing, IlvMapSegment, IlvMapSegmentRing, IlvMapSegmentString, and IlvMapText.
virtual IlvClassInfo* IlvMapGeometry::getClassInfo | ( | ) | const [pure virtual] |
Returns the IlvClassInfo
of the instance.
IlvClassInfo
that should not be modified nor deleted. Implemented in IlvMapArcSegment, IlvMapArcString, IlvMapArea, IlvMapCircle, IlvMapCircularRing, IlvMapGeometryCollection, IlvMapCurve, IlvMapCurveString, IlvMapImage, IlvMapLinearSegment, IlvMapLineString, IlvMapMultiArea, IlvMapMultiCurve, IlvMapMultiPoint, IlvMapPoint, IlvMapPolygon, IlvMapRaster, IlvMapRing, IlvMapSegmentRing, IlvMapSegmentString, and IlvMapText.
virtual const IlvMapGeometry* IlvMapGeometry::getSubElement | ( | IlUInt | index | ) | const [pure virtual] |
Returns the sub element of index index if the geometry is a collection.
Otherwise, it returns a null pointer.
Implemented in IlvMapArcSegment, IlvMapCircle, IlvMapCircularRing, IlvMapGeometryCollection, IlvMapImage, IlvMapLinearSegment, IlvMapMultiArea, IlvMapMultiCurve, IlvMapMultiPoint, IlvMapPoint, IlvMapPolygon, IlvMapRaster, IlvMapSegmentRing, IlvMapSegmentString, and IlvMapText.
virtual IlUInt IlvMapGeometry::getSubElementCount | ( | ) | const [pure virtual] |
Returns the number of elements contained in the geometry if the geometry is a collection.
Otherwise, it returns 0
.
0
. Implemented in IlvMapArcSegment, IlvMapCircle, IlvMapCircularRing, IlvMapGeometryCollection, IlvMapImage, IlvMapLinearSegment, IlvMapMultiArea, IlvMapMultiCurve, IlvMapMultiPoint, IlvMapPoint, IlvMapPolygon, IlvMapRaster, IlvMapSegmentRing, IlvMapSegmentString, and IlvMapText.
virtual IlBoolean IlvMapGeometry::isCollection | ( | ) | const [pure 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. Implemented in IlvMapArcSegment, IlvMapCircle, IlvMapCircularRing, IlvMapGeometryCollection, IlvMapImage, IlvMapLinearSegment, IlvMapMultiArea, IlvMapMultiCurve, IlvMapMultiPoint, IlvMapPoint, IlvMapPolygon, IlvMapRaster, IlvMapSegmentRing, IlvMapSegmentString, and IlvMapText.
© 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.