Class AbstractPlaneSubset

    • Constructor Detail

      • AbstractPlaneSubset

        AbstractPlaneSubset()
    • Method Detail

      • intersection

        public Vector3D intersection​(Line3D line)
        Get the unique intersection of this plane subset with the given line. Null is returned if no unique intersection point exists (ie, the line and plane are parallel or coincident) or the line does not intersect the plane subset.
        Specified by:
        intersection in interface PlaneSubset
        Parameters:
        line - line to intersect with this plane subset
        Returns:
        the unique intersection point between the line and this plane subset or null if no such point exists.
        See Also:
        Plane.intersection(Line3D)
      • intersection

        public Vector3D intersection​(LineConvexSubset3D lineSubset)
        Get the unique intersection of this plane subset with the given line subset. Null is returned if the underlying line and plane do not have a unique intersection point (ie, they are parallel or coincident) or the intersection point is unique but is not contained in both the line subset and plane subset.
        Specified by:
        intersection in interface PlaneSubset
        Parameters:
        lineSubset - line subset to intersect with
        Returns:
        the unique intersection point between this plane subset and the argument or null if no such point exists.
        See Also:
        Plane.intersection(Line3D)