|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.geometry.IlvMapSegmentRing
public class IlvMapSegmentRing
This class defines a ring whose outline is an
IlvMapSegmentString.
The IlvMapSegmentString should be closed, which means that
its start point should be the same as its end point.
If the IlvMapSegmentString is not
closed, the assumption is performed that it is closed by an
IlvMapLinearSegment.
| Constructor Summary | |
|---|---|
IlvMapSegmentRing()
Initializes an instance of the class without its outline. |
|
IlvMapSegmentRing(IlvMapSegmentString outline)
Initializes an instance of the class with its outline. |
|
| Method Summary | |
|---|---|
boolean |
contains(IlvCoordinate c)
Returns true if c is contained in the object. |
IlvMapCurve |
getOutline()
Returns the outline of the object. |
IlvMapSegmentString |
setOutline(IlvMapSegmentString outline)
Sets the outline of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvMapSegmentRing()
public IlvMapSegmentRing(IlvMapSegmentString outline)
outline - The outline.
Since the outline is not copied, the outline should not be modified
after the operation.| Method Detail |
|---|
public IlvMapCurve getOutline()
getOutline in interface IlvMapRingInterfaceIlvMapCurve object that should not be
modified.public IlvMapSegmentString setOutline(IlvMapSegmentString outline)
outline - The new outline.
Since the outline is not copied, the outline should not be modified
after being set.
public boolean contains(IlvCoordinate c)
true if c is contained in the object.
contains in interface IlvMapRingInterfacec - The point to be checked.
true if the specified point is contained in the object.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||