|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.geometry.IlvMapLinearSegment
public class IlvMapLinearSegment
This class defines a linear segment.
| Constructor Summary | |
|---|---|
IlvMapLinearSegment()
Initializes an instance of the class. |
|
IlvMapLinearSegment(IlvCoordinate start,
IlvCoordinate end)
Creates a linear segment by specifying the start and end point. |
|
| Method Summary | |
|---|---|
Rectangle2D |
getBounds(Rectangle2D result)
Returns the bounds of this IlvMapSegment |
IlvCoordinate |
getEndPoint()
Returns the end point of this segment. |
int |
getHorizontalIntersectionCount(IlvCoordinate p)
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 this segment. |
void |
setEndPoint(IlvCoordinate end)
Sets the end point of this segment. |
void |
setStartPoint(IlvCoordinate start)
Sets the start point of this segment. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvMapLinearSegment()
public IlvMapLinearSegment(IlvCoordinate start,
IlvCoordinate end)
start - The start point.end - The end point.| Method Detail |
|---|
public IlvCoordinate getStartPoint()
getStartPoint in interface IlvMapSegmentpublic void setStartPoint(IlvCoordinate start)
setStartPoint in interface IlvMapSegmentstart - The start point of this segment.public IlvCoordinate getEndPoint()
getEndPoint in interface IlvMapSegmentpublic void setEndPoint(IlvCoordinate end)
setEndPoint in interface IlvMapSegmentend - The end point of this segment.public int getHorizontalIntersectionCount(IlvCoordinate p)
IlvMapRingInterface.
getHorizontalIntersectionCount in interface IlvMapSegmentp - The point at the right extremity of the horizontal
half line.
public Rectangle2D getBounds(Rectangle2D result)
IlvMapSegment
getBounds in interface IlvMapSegment
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||