Class PointIntersectionMember<V>

  • Type Parameters:
    V - The type of the intersection member
    All Implemented Interfaces:
    java.lang.Cloneable

    public class PointIntersectionMember<V>
    extends IntersectionMember<V>
    An intersection member which geometry is a point
    • Constructor Detail

      • PointIntersectionMember

        public PointIntersectionMember​(V element,
                                       JGeometry point)
        Allocates a new point intersection member
        Parameters:
        element - the intersection's element
        point - the element's point geometry
    • Method Detail

      • isLine

        public boolean isLine()
        Description copied from class: IntersectionMember
        Tells whether the element held is a line
        Specified by:
        isLine in class IntersectionMember<V>
        Returns:
        true if the element is a line
      • isPoint

        public boolean isPoint()
        Description copied from class: IntersectionMember
        Tells whether the element held is a point
        Specified by:
        isPoint in class IntersectionMember<V>
        Returns:
        true if the element is a point
      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Overrides:
        clone in class IntersectionMember<V>
        Throws:
        java.lang.CloneNotSupportedException