Package com.solibri.geometry.primitive3d
Interface MPlane
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods 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 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 planenormalVector
- 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
-
-