|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlvMapSegment
This class defines a common interface for the geometry elements that describe a connected curve that has a start point and an end point.
| Method Summary | |
|---|---|
Rectangle2D |
getBounds(Rectangle2D result)
Returns the bounds of this IlvMapSegment |
IlvCoordinate |
getEndPoint()
Returns the end point of the segment. |
int |
getHorizontalIntersectionCount(IlvCoordinate c)
Returns the number of intersections between an horizontal half line defined by its right extremity point and the segment. |
IlvCoordinate |
getStartPoint()
Returns the start point of the segment. |
void |
setEndPoint(IlvCoordinate c)
Sets the end point of the segment. |
void |
setStartPoint(IlvCoordinate c)
Sets the start point of the segment. |
| Method Detail |
|---|
IlvCoordinate getStartPoint()
IlvCoordinate getEndPoint()
void setStartPoint(IlvCoordinate c)
c - The start point of the segment.void setEndPoint(IlvCoordinate c)
c - The end point of the segment.int getHorizontalIntersectionCount(IlvCoordinate c)
c - The point defining the half line.Rectangle2D getBounds(Rectangle2D result)
IlvMapSegment
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||