Fovia's Java Client/Server API
|
Public Member Functions | |
float | getA () |
float | getB () |
float | getC () |
float | getD () |
VECTOR3D | getNormal () |
void | read (hdrcSerializer ser) throws IOException |
void | setA (float a) |
void | setB (float b) |
void | setC (float c) |
void | setD (float d) |
String | toString () |
void | write (hdrcSerializer ser) throws IOException |
Public Attributes | |
float | a |
float | b |
float | c |
float | d |
The plane equation is defined by the coefficients a, b, c, and d. These coefficients are the standard plane equation coefficients such that:
The normalized coefficients define the normal vector to the plane. Coefficient represents the offset from the origin.
VECTOR3D com.fovia.hdrcsrv.PLANEEQF.getNormal | ( | ) |
Returns a VECTOR3D containing the normal of the plane (a,b,c).
References com.fovia.hdrcsrv.PLANEEQF.a, com.fovia.hdrcsrv.PLANEEQF.b, and com.fovia.hdrcsrv.PLANEEQF.c.
float com.fovia.hdrcsrv.PLANEEQF.a |
The x value in the plane normal.
Referenced by com.fovia.hdrc.utils.hdrc3DHelpers.cutPlaneAffectsVolume(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.hdrc3DHelpers.getLineOfIntersection(), com.fovia.hdrcsrv.PLANEEQF.getNormal(), com.fovia.hdrc.utils.hdrc3DHelpers.intersectLineWithPlane(), and com.fovia.hdrc.utils.hdrc3DHelpers.snapPointsToPlane().
float com.fovia.hdrcsrv.PLANEEQF.b |
The y value in the plane normal.
Referenced by com.fovia.hdrc.utils.hdrc3DHelpers.cutPlaneAffectsVolume(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.hdrc3DHelpers.getLineOfIntersection(), com.fovia.hdrcsrv.PLANEEQF.getNormal(), com.fovia.hdrc.utils.hdrc3DHelpers.getPlaneEquation(), com.fovia.hdrc.utils.hdrc3DHelpers.intersectLineWithPlane(), and com.fovia.hdrc.utils.hdrc3DHelpers.snapPointsToPlane().
float com.fovia.hdrcsrv.PLANEEQF.c |
The z value in the plane normal.
Referenced by com.fovia.hdrc.utils.hdrc3DHelpers.cutPlaneAffectsVolume(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.hdrc3DHelpers.getLineOfIntersection(), com.fovia.hdrcsrv.PLANEEQF.getNormal(), com.fovia.hdrc.utils.hdrc3DHelpers.intersectLineWithPlane(), and com.fovia.hdrc.utils.hdrc3DHelpers.snapPointsToPlane().
float com.fovia.hdrcsrv.PLANEEQF.d |
The offset of the plane from the origin.
Referenced by com.fovia.hdrc.utils.hdrc3DHelpers.cutPlaneAffectsVolume(), com.fovia.hdrcsrv.RENDER_PARAMS.getDifferingParams(), com.fovia.hdrc.utils.hdrc3DHelpers.getLineOfIntersection(), and com.fovia.hdrc.utils.hdrc3DHelpers.getPlaneEquation().