Package georegression.struct.plane
Class PlaneGeneral3D_F64
java.lang.Object
georegression.struct.plane.PlaneGeneral3D_F64
- All Implemented Interfaces:
Serializable,MapFormattable
Represents the line using four parameters such that any point on the planes obeys the following formula, A*x + B*y + C*z = D. Any 3D plane can be represented using this notation. This formulation is also known as scalar.
If in Hessian normal form, then (A,B,C) is the unit normal, and D is distance of the plane from the origin. The
sign of D determines the side on the plane on which the origin is located. normalize()
NOTE: The normal of the plane is the vector (A,B,C)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleandoubleevaluate(double x, double y, double z) format(MatrixPrintFormat format) formatMap(MapPrintFormat format) inthashCode()booleanvoidEnsures that A*A + B*B + C*C == 1setTo(double a, double b, double c, double d) setTo(PlaneGeneral3D_F64 src) toString()voidzero()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ejml.MapFormattable
formatMap
-
Field Details
-
A
public double ACoefficients which define the plane. -
B
public double BCoefficients which define the plane. -
C
public double CCoefficients which define the plane. -
D
public double DCoefficients which define the plane.
-
-
Constructor Details
-
PlaneGeneral3D_F64
-
PlaneGeneral3D_F64
public PlaneGeneral3D_F64(double a, double b, double c, double d) -
PlaneGeneral3D_F64
public PlaneGeneral3D_F64()
-
-
Method Details
-
setTo
-
setTo
-
zero
public void zero() -
evaluate
public double evaluate(double x, double y, double z) -
normalize
public void normalize()Ensures that A*A + B*B + C*C == 1 -
copy
-
isIdentical
-
format
-
formatMap
- Specified by:
formatMapin interfaceMapFormattable
-
toString
-
equals
-
hashCode
public int hashCode()
-