Rogue Wave Views Maps Package API Reference Guide |
Rogue Wave Views Documentation Home |
This abstract class is the base class for segments that can be divided into other smaller segments. More...
#include <ilviews/maps/geometry/geosegstr.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 IlvCoordinate & | getEndPoint () const =0 |
Returns the end point of the last segment, if it exists, otherwise, it returns an IlvCoordinate set to (0,0). More... | |
virtual const IlvMapSegment * | getSegment (IlUInt index) const =0 |
Returns the segment of index index. More... | |
virtual IlUInt | getSegmentCount () const =0 |
Returns the number of segments contained in the string. More... | |
virtual const IlvCoordinate & | getStartPoint () const =0 |
Returns the start point of the first segment, if it exists, otherwise, it returns an IlvCoordinate set to (0,0). More... | |
virtual const IlvMapGeometry * | getSubElement (IlUInt index) const |
Returns a sub element of a collection geometry. More... | |
virtual IlUInt | getSubElementCount () const |
Returns the number of elements contained in the geometry if the geometry is a collection. More... | |
virtual IlBoolean | isCollection () const |
Checks if this geometry is a collection of other geometries. More... | |
virtual void | removeAll ()=0 |
Removes all the segments in the string and sets the start point to (0,0). | |
virtual void | setEndPoint (const IlvCoordinate &end)=0 |
Sets the end point of the last segment if it exists. More... | |
virtual void | setStartPoint (const IlvCoordinate &start)=0 |
Sets the start point of the first segment. More... | |
Public Member Functions inherited from IlvMapSegment | |
virtual IlUInt | getHorizontalIntersectionCount (const IlvCoordinate &point) const =0 |
Protected Member Functions | |
IlvMapSegmentString () | |
Constructor. More... | |
Protected Member Functions inherited from IlvMapSegment | |
IlvMapSegment () | |
Constructor. More... | |
Protected Member Functions inherited from IlvMapCurve | |
IlvMapCurve () | |
Constructor. More... | |
Protected Member Functions inherited from IlvMapGeometry | |
IlvMapGeometry () | |
Constructor. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from IlvMapGeometry | |
static IlvClassInfo * | ClassInfo () |
Returns the class info. More... | |
This abstract class is the base class for segments that can be divided into other smaller segments.
The IlvMapCurveString
is a generic implementation that can handle any type of IlvMapSegment
, while other subclasses are optimized to handle uniform lists of segments. The instances of the predefined subclasses of IlvMapSegmentString
can be rendered by an IlvDefaultFeatureRenderer
or by an IlvDefaultCurveRenderer
. Library: ilvmaps
|
protected |
Constructor.
The constructor of this abstract class is protected.
|
pure virtual |
Returns a copy of the object.
IlvMapGeometry
that must be deleted by the user. Implements IlvMapSegment.
Implemented in IlvMapLineString, IlvMapArcString, and IlvMapCurveString.
|
pure virtual |
Returns the IlvClassInfo
of the instance.
IlvClassInfo
that should not be modified nor deleted. Implements IlvMapCurve.
Implemented in IlvMapLineString, IlvMapArcString, and IlvMapCurveString.
|
pure virtual |
Returns the end point of the last segment, if it exists, otherwise, it returns an IlvCoordinate
set to (0,0).
Implements IlvMapSegment.
Implemented in IlvMapLineString, IlvMapArcString, and IlvMapCurveString.
|
pure virtual |
Returns the segment of index index.
index | The index of the segment to be retrieved. index must have a value between 0 and getSegmentCount() - 1 . |
IlvMapSegment
object that should not be modified nor deleted by the user. The returned IlvMapSegment
is volatile. This means that it may be modified or deleted by the IlvMapSegmentString
itself after an other call to this function, or after any modification. Implemented in IlvMapArcString, IlvMapLineString, and IlvMapCurveString.
|
pure virtual |
Returns the number of segments contained in the string.
Implemented in IlvMapLineString, IlvMapArcString, and IlvMapCurveString.
|
pure virtual |
Returns the start point of the first segment, if it exists, otherwise, it returns an IlvCoordinate
set to (0,0).
Implements IlvMapSegment.
Implemented in IlvMapLineString, IlvMapArcString, and IlvMapCurveString.
|
virtual |
Returns a sub element of a collection geometry.
index | The index of the sub-geometry to be retrieved. |
0
if it is not. Implements IlvMapGeometry.
|
virtual |
Returns the number of elements contained in the geometry if the geometry is a collection.
0
. Implements IlvMapGeometry.
|
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. Implements IlvMapGeometry.
|
pure virtual |
Sets the end point of the last segment if it exists.
Otherwise, it does nothing.
end | The end point. |
Implements IlvMapSegment.
Implemented in IlvMapLineString, IlvMapArcString, and IlvMapCurveString.
|
pure virtual |
Sets the start point of the first segment.
start | The start point. |
Implements IlvMapSegment.
Implemented in IlvMapLineString, IlvMapArcString, and IlvMapCurveString.
© Copyright 2017, 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.