Package com.solibri.geometry.primitive3d
Interface MPlane
- All Superinterfaces:
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 TypeMethodDescriptionstatic MPlane
Creates an instance of MPlane.static MPlane
create
(Triangle3d triangle) Creates an instance of MPlane based on a triangle.void
Sets the plane normal vector to the given vector.void
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
-