HE_Mesh2014  2.0.11
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
wblut.geom.WB_Plane Class Reference

Public Member Functions

 WB_Plane (final WB_Coord p1, final WB_Coord p2, final WB_Coord p3)
 
 WB_Plane (final double ox, final double oy, final double oz, final double nx, final double ny, final double nz)
 
 WB_Plane (final WB_Coord o, final WB_Coord n)
 
 WB_Plane (final WB_Coord n, final double d)
 
WB_Plane get ()
 
WB_Vector getNormal ()
 
double d ()
 
WB_Point getOrigin ()
 
void flipNormal ()
 
String toString ()
 
WB_Point localPoint (final WB_Coord p)
 
WB_Point localPoint2D (final WB_Coord p)
 
WB_Point extractPoint (final WB_Coord p)
 
WB_Point extractPoint (final double x, final double y)
 
WB_Point extractPoint2D (final WB_Coord p)
 
WB_Point extractPoint (final double x, final double y, final double z)
 
WB_Point mirrorPoint (final WB_Coord p)
 
WB_Vector getU ()
 
WB_Vector getV ()
 
WB_Vector getW ()
 

Static Public Member Functions

static final WB_Plane XY ()
 
static final WB_Plane Z ()
 
static final WB_Plane XZ ()
 
static final WB_Plane Y ()
 
static final WB_Plane YZ ()
 
static final WB_Plane X ()
 
static boolean isEqual (final WB_Plane P, final WB_Plane Q)
 

Protected Member Functions

void set (final WB_Coord o, final WB_Coord n)
 

Private Member Functions

void setAxes ()
 

Private Attributes

WB_Vector n
 
WB_Point origin
 
WB_Vector u
 

Constructor & Destructor Documentation

wblut.geom.WB_Plane.WB_Plane ( final WB_Coord  p1,
final WB_Coord  p2,
final WB_Coord  p3 
)
Parameters
p1
p2
p3
wblut.geom.WB_Plane.WB_Plane ( final double  ox,
final double  oy,
final double  oz,
final double  nx,
final double  ny,
final double  nz 
)
Parameters
ox
oy
oz
nx
ny
nz
wblut.geom.WB_Plane.WB_Plane ( final WB_Coord  o,
final WB_Coord  n 
)
Parameters
o
n
wblut.geom.WB_Plane.WB_Plane ( final WB_Coord  n,
final double  d 
)
Parameters
n
d

Member Function Documentation

double wblut.geom.WB_Plane.d ( )
Returns
WB_Point wblut.geom.WB_Plane.extractPoint ( final WB_Coord  p)

Extract point.

Parameters
pthe p
Returns
the w b_ point3d
WB_Point wblut.geom.WB_Plane.extractPoint ( final double  x,
final double  y 
)

Extract point.

Parameters
xthe x
ythe y
Returns
the w b_ point3d
WB_Point wblut.geom.WB_Plane.extractPoint ( final double  x,
final double  y,
final double  z 
)

Extract point.

Parameters
xthe x
ythe y
zthe z
Returns
the w b_ point3d
WB_Point wblut.geom.WB_Plane.extractPoint2D ( final WB_Coord  p)

Extract point.

Parameters
pthe p
Returns
the w b_ point3d
void wblut.geom.WB_Plane.flipNormal ( )
WB_Plane wblut.geom.WB_Plane.get ( )
Returns
WB_Vector wblut.geom.WB_Plane.getNormal ( )
Returns
WB_Point wblut.geom.WB_Plane.getOrigin ( )
Returns
WB_Vector wblut.geom.WB_Plane.getU ( )

Gets the u.

Returns
the u
WB_Vector wblut.geom.WB_Plane.getV ( )

Gets the v.

Returns
the v
WB_Vector wblut.geom.WB_Plane.getW ( )

Gets the w.

Returns
the w
static boolean wblut.geom.WB_Plane.isEqual ( final WB_Plane  P,
final WB_Plane  Q 
)
static

Are the planes equal?.

Parameters
Pthe p
Qthe q
Returns
true/false
WB_Point wblut.geom.WB_Plane.localPoint ( final WB_Coord  p)

Local point.

Parameters
pthe p
Returns
the w b_ point3d
WB_Point wblut.geom.WB_Plane.localPoint2D ( final WB_Coord  p)

Local point2 d.

Parameters
pthe p
Returns
the w b_ point2d
WB_Point wblut.geom.WB_Plane.mirrorPoint ( final WB_Coord  p)

Mirror point.

Parameters
pthe p
Returns
the w b_ point3d
void wblut.geom.WB_Plane.set ( final WB_Coord  o,
final WB_Coord  n 
)
protected
Parameters
o
n
void wblut.geom.WB_Plane.setAxes ( )
private

Sets the axes.

String wblut.geom.WB_Plane.toString ( )
static final WB_Plane wblut.geom.WB_Plane.X ( )
static
Returns
static final WB_Plane wblut.geom.WB_Plane.XY ( )
static
Returns
Deprecated:
Use Z() instead
static final WB_Plane wblut.geom.WB_Plane.XZ ( )
static
Returns
Deprecated:
Use Y() instead
static final WB_Plane wblut.geom.WB_Plane.Y ( )
static
Returns
static final WB_Plane wblut.geom.WB_Plane.YZ ( )
static
Returns
Deprecated:
Use X() instead
static final WB_Plane wblut.geom.WB_Plane.Z ( )
static
Returns

Member Data Documentation

WB_Vector wblut.geom.WB_Plane.n
private

Plane normal.

WB_Point wblut.geom.WB_Plane.origin
private

Origin.

WB_Vector wblut.geom.WB_Plane.u
private

The documentation for this class was generated from the following file: