Package com.algo.structure.controlpoints
Class ControlPoint
- java.lang.Object
-
- com.algo.plugins.XmlMarshallable
-
- com.algo.structure.controlpoints.ControlPoint
-
- All Implemented Interfaces:
java.io.Serializable
public class ControlPoint extends XmlMarshallable implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ControlPoint()
ControlPoint(Vector2D position, Edge parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsCoordinate(double x, double y)
void
fromXml(org.w3c.dom.Element enode)
Vector2D
getPosition()
void
setPosition(Vector2D position)
org.w3c.dom.Element
toXml(org.w3c.dom.Document doc)
-
Methods inherited from class com.algo.plugins.XmlMarshallable
xmlName
-
-
-
-
Method Detail
-
getPosition
public Vector2D getPosition()
-
setPosition
public void setPosition(Vector2D position)
-
containsCoordinate
public boolean containsCoordinate(double x, double y)
-
toXml
public org.w3c.dom.Element toXml(org.w3c.dom.Document doc) throws java.lang.Exception
- Overrides:
toXml
in classXmlMarshallable
- Throws:
java.lang.Exception
-
fromXml
public void fromXml(org.w3c.dom.Element enode)
-
-