|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Instances of classes implementing this interface manage and store coordinates
for GeometryItems.
GeometryItem| Method Summary | |
int[] |
getComponentsX()
Returns a copy of all stored x-coordinates in an int-array. |
int[] |
getComponentsY()
Returns a copy of all stored y-coordinates in an int-array. |
int[] |
getCoordinate(int index)
Returns the (x,y)-coordinate-pair stored at the given index. |
int |
getCoordinateCount()
Returns the number of coordinate-pairs stored. |
int[] |
getReferenceComponentsX()
Returns a copy of all stored reference x-coordinates. |
int[] |
getReferenceComponentsY()
Returns a copy of all stored reference y-coordinates. |
int[] |
getSegmentTypes()
Returns a copy of the int-array containing all segment-types. |
boolean |
hasSegmentTypes()
Returns true, if segment-types are stored. |
| Method Detail |
public int getCoordinateCount()
public boolean hasSegmentTypes()
true, if segment-types are stored.
true, if segment-types are stored.public int[] getCoordinate(int index)
result[0] -> x, result[1] -> y.
index - the index for which to retrieve th coordinate-pair.
public int[] getComponentsX()
int-array.
public int[] getComponentsY()
int-array.
public int[] getReferenceComponentsX()
public int[] getReferenceComponentsY()
public int[] getSegmentTypes()
int-array containing all segment-types.
int-array containing all segment-types.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||