public class OptXYNode extends OptNode implements XYNode
OptNode
,
Serialized FormOptNode.RelatedIterator
Constructor and Description |
---|
OptXYNode() |
Modifier and Type | Method and Description |
---|---|
Coordinate |
getCoordinate()
This method creates a new Coordinate object upon each call.
|
void |
setCoordinate(Coordinate c)
This method strips only the x and y ordinates from the Coordinate object and stores them.
|
add, getDegree, getEdge, getEdgeArray, getEdges, getEdges, getRelated, remove, setDegree
getCount, getID, getObject, isVisited, setCount, setID, setObject, setVisited
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCount, getID, getObject, getRelated, isVisited, setCount, setID, setObject, setVisited
public Coordinate getCoordinate()
getCoordinate
in interface XYNode
XYNode.getCoordinate()
public void setCoordinate(Coordinate c)
setCoordinate
in interface XYNode
c
- A coordinate.XYNode.setCoordinate(Coordinate)
Copyright © 1996–2019 Geotools. All rights reserved.