Class EdgeIntermediatePoint

  • All Implemented Interfaces:
    java.io.Serializable

    public class EdgeIntermediatePoint
    extends XmlMarshallable
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Detail

      • coordinates

        public Vector2D coordinates
    • Constructor Detail

      • EdgeIntermediatePoint

        public EdgeIntermediatePoint()
      • EdgeIntermediatePoint

        public EdgeIntermediatePoint​(java.lang.Double x,
                                     java.lang.Double y)
      • EdgeIntermediatePoint

        public EdgeIntermediatePoint​(Vector2D coords)
    • Method Detail

      • containsCoordinate

        public boolean containsCoordinate​(double x,
                                          double y)
      • snapToGrid

        public void snapToGrid​(double gridSize)
      • get

        public double get​(int dimension)
      • getX

        public double getX()
      • getY

        public double getY()
      • toXml

        public org.w3c.dom.Element toXml​(org.w3c.dom.Document doc)
                                  throws java.lang.Exception
        Overrides:
        toXml in class XmlMarshallable
        Throws:
        java.lang.Exception
      • fromXml

        public void fromXml​(org.w3c.dom.Element enode)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object