Interface MPlane

  • All Superinterfaces:
    Plane

    public interface MPlane
    extends Plane
    Interface for handling mutable planes in 3d. A plane is a flat, two-dimensional surface that extends infinitely far. Plane is defined by a point on the plane and the plane's normal vector.
    Since:
    9.10.2
    • Method Detail

      • setPoint

        void setPoint​(Vector3d point)
        Sets the plane point to the given point.
        Parameters:
        point - the new point
        Since:
        9.10.2
      • setNormal

        void setNormal​(Vector3d vector)
        Sets the plane normal vector to the given vector.
        Parameters:
        vector - the new normal vector
        Since:
        9.10.2
      • create

        static MPlane create​(Vector3d point,
                             Vector3d normalVector)
        Creates an instance of MPlane.
        Parameters:
        point - some point on the plane
        normalVector - the normal vector of the plane
        Returns:
        the newly created instance
        Since:
        9.10.2
      • create

        static MPlane create​(Triangle3d triangle)
        Creates an instance of MPlane based on a triangle.
        Parameters:
        triangle - the triangle that defines the plane
        Returns:
        the newly created instance
        Since:
        9.10.2