Package com.solibri.geometry.primitive3d
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 Summary
Modifier and Type Method Description static MPlane
create(Vector3d point, Vector3d normalVector)
Creates an instance of MPlane.static MPlane
create(Triangle3d triangle)
Creates an instance of MPlane based on a triangle.void
setNormal(Vector3d vector)
Sets the plane normal vector to the given vector.void
setPoint(Vector3d point)
Sets the plane point to the given point.Methods inherited from interface com.solibri.geometry.primitive3d.Plane
contains, dihedralAngle, distance, distanceSquared, getNormal, getPoint, intersect, project, project, signedDistance, signedDistance
-
Method Details
-
setPoint
Sets the plane point to the given point.- Parameters:
point
- the new point- Since:
- 9.10.2
-
setNormal
Sets the plane normal vector to the given vector.- Parameters:
vector
- the new normal vector- Since:
- 9.10.2
-
create
Creates an instance of MPlane.- Parameters:
point
- some point on the planenormalVector
- the normal vector of the plane- Returns:
- the newly created instance
- Since:
- 9.10.2
-
create
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
-