Rogue Wave Views |
Rogue Wave Views Documentation Home |
This abstract class is the base class for the geometries that describe a connected curve that has a start point and an end point. More...
#include <ilviews/maps/geometry/geosegment.h>
Public Member Functions | |
virtual IlvMapGeometry * | copy () const =0 |
Returns a copy of the object. More... | |
virtual const IlvCoordinate & | getEndPoint () const =0 |
Returns the end point of the segment. More... | |
virtual IlUInt | getHorizontalIntersectionCount (const IlvCoordinate &point) const =0 |
virtual const IlvCoordinate & | getStartPoint () const =0 |
Returns the start point of the segment. More... | |
virtual void | setEndPoint (const IlvCoordinate &end)=0 |
Sets the end point of the segment. More... | |
virtual void | setStartPoint (const IlvCoordinate &start)=0 |
Sets the start point of the segment. More... | |
Public Member Functions inherited from IlvMapCurve | |
virtual IlvClassInfo * | getClassInfo () const =0 |
Returns the IlvClassInfo of the instance. More... | |
Public Member Functions inherited from IlvMapGeometry | |
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... | |
Protected Member Functions | |
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 the geometries that describe a connected curve that has a start point and an end point.
The instances of the predefined subclasses IlvMapSegment
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 IlvMapCurve.
Implemented in IlvMapLineString, IlvMapSegmentString, IlvMapArcString, IlvMapArcSegment, IlvMapCurveString, and IlvMapLinearSegment.
|
pure virtual |
Returns the end point of the segment.
Implemented in IlvMapSegmentString, IlvMapArcSegment, IlvMapLineString, IlvMapArcString, IlvMapLinearSegment, and IlvMapCurveString.
|
pure virtual |
Returns the number of intersections between an horizontal half line defined by its right extremity point and the segment. This function is used for point inclusion tests of IlvMapRing
.
point | The point at the right extremity of the horizontal half line. |
1
if the point is on the segment, 2
if the point is not on the segment. If the point is on the segment where the tangent is not horizontal, the intersection should not be counted. Implemented in IlvMapArcSegment, IlvMapLineString, IlvMapArcString, IlvMapLinearSegment, and IlvMapCurveString.
|
pure virtual |
Returns the start point of the segment.
Implemented in IlvMapArcSegment, IlvMapSegmentString, IlvMapLineString, IlvMapArcString, IlvMapLinearSegment, and IlvMapCurveString.
|
pure virtual |
Sets the end point of the segment.
end | The end point. |
Implemented in IlvMapSegmentString, IlvMapArcSegment, IlvMapLineString, IlvMapArcString, IlvMapLinearSegment, and IlvMapCurveString.
|
pure virtual |
Sets the start point of the segment.
start | The start point. |
Implemented in IlvMapSegmentString, IlvMapArcSegment, IlvMapLineString, IlvMapArcString, IlvMapLinearSegment, and IlvMapCurveString.
© Copyright 2015, 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.