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 booleancontainsCoordinate(double x, double y)voidfromXml(org.w3c.dom.Element enode)Vector2DgetPosition()voidsetPosition(Vector2D position)org.w3c.dom.ElementtoXml(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:
toXmlin classXmlMarshallable- Throws:
java.lang.Exception
-
fromXml
public void fromXml(org.w3c.dom.Element enode)
-
-