georegression.struct.plane
Class PlaneGeneral3D_F32
- java.lang.Object
-
- georegression.struct.plane.PlaneGeneral3D_F32
-
- All Implemented Interfaces:
- java.io.Serializable
public class PlaneGeneral3D_F32 extends java.lang.Object implements java.io.SerializableRepresents 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.
NOTE: The normal of the plane is the vector (A,B,C)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description floatACoefficients which define the plane.floatBCoefficients which define the plane.floatCCoefficients which define the plane.floatDCoefficients which define the plane.
-
Constructor Summary
Constructors Constructor and Description PlaneGeneral3D_F32()PlaneGeneral3D_F32(float a, float b, float c, float d)PlaneGeneral3D_F32(PlaneGeneral3D_F32 src)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description floatgetA()floatgetB()floatgetC()floatgetD()voidset(float a, float b, float c, float d)voidset(PlaneGeneral3D_F32 src)voidsetA(float a)voidsetB(float b)voidsetC(float c)voidsetD(float d)java.lang.StringtoString()
-
-
-
Field Detail
-
A
public float A
Coefficients which define the plane.
-
B
public float B
Coefficients which define the plane.
-
C
public float C
Coefficients which define the plane.
-
D
public float D
Coefficients which define the plane.
-
-
Constructor Detail
-
PlaneGeneral3D_F32
public PlaneGeneral3D_F32(PlaneGeneral3D_F32 src)
-
PlaneGeneral3D_F32
public PlaneGeneral3D_F32(float a, float b, float c, float d)
-
PlaneGeneral3D_F32
public PlaneGeneral3D_F32()
-
-
Method Detail
-
getA
public float getA()
-
getB
public float getB()
-
getC
public float getC()
-
getD
public float getD()
-
set
public void set(float a, float b, float c, float d)
-
set
public void set(PlaneGeneral3D_F32 src)
-
setA
public void setA(float a)
-
setB
public void setB(float b)
-
setC
public void setC(float c)
-
setD
public void setD(float d)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG