Class GeoPolygonFactory.Edge

  • Enclosing class:
    GeoPolygonFactory

    private static class GeoPolygonFactory.Edge
    extends java.lang.Object
    Class representing a single (unused) edge.
    • Field Detail

      • startPoint

        public final GeoPoint startPoint
        Start point
      • endPoint

        public final GeoPoint endPoint
        End point
      • isInternal

        public final boolean isInternal
        Internal edge flag
    • Constructor Detail

      • Edge

        public Edge​(GeoPoint startPoint,
                    GeoPoint endPoint,
                    SidedPlane plane,
                    boolean isInternal)
        Constructor.
        Parameters:
        startPoint - the edge start point
        endPoint - the edge end point
        plane - the edge plane
        isInternal - true if internal edge
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object