|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.graphic.IlvGeodeticPathComputation.PointVector
public static class IlvGeodeticPathComputation.PointVector
Stores an array of points that possibly contains null values
for interruptions. It is is possible to transform this array into
a Shape or PointArray instance.
| Constructor Summary | |
|---|---|
IlvGeodeticPathComputation.PointVector()
Creates a new PointVector instance. |
|
| Method Summary | |
|---|---|
void |
addPoint(float x,
float y)
Adds a point to the vector |
void |
addPoint(IlvPoint current)
Add a point or null to the vector. |
void |
append(IlvGeodeticPathComputation.PointVector append)
Adds a complete vector. |
IlvPoint |
getPoint(int idx)
Retrieves a point. |
int |
getPointCount()
Returns the number of points and interruptions in the vector. |
IlvPointArray[] |
makeArrays(boolean close)
Creates a point array for each uninterrupted point sequence. |
GeneralPath |
makeShape()
Creates a general path composed of MOVETO and LINETO. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvGeodeticPathComputation.PointVector()
PointVector instance.
| Method Detail |
|---|
public void addPoint(IlvPoint current)
null to the vector.
current - The point to add.
public void addPoint(float x,
float y)
x - The manager x coordinate of point.y - The manager y coordinate of point.public void append(IlvGeodeticPathComputation.PointVector append)
append - The vector to append.public int getPointCount()
public IlvPoint getPoint(int idx)
idx - The index of the point to retrieve.
idx or null.public GeneralPath makeShape()
public IlvPointArray[] makeArrays(boolean close)
close - Set to true for a point to be added to
each point array to close the shape.
IlvPointArray instance.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||