HE_Mesh2014  2.0.11
Public Member Functions | Static Public Member Functions | List of all members
wblut.geom.WB_Point Class Reference
+ Inheritance diagram for wblut.geom.WB_Point:

Public Member Functions

 WB_Point ()
 
 WB_Point (final double x, final double y)
 
 WB_Point (final double x, final double y, final double z)
 
 WB_Point (final double[] x)
 
 WB_Point (final double[] fromPoint, final double[] toPoint)
 
 WB_Point (final WB_Coordinate v)
 
 WB_Point (final WB_Coordinate fromPoint, final WB_Coordinate toPoint)
 
WB_Point addMulSelf (final double f, final double x, final double y, final double z)
 
WB_Point addMulSelf (final double f, final WB_Coordinate p)
 
WB_Point addSelf (final double x, final double y, final double z)
 
WB_Point addSelf (final WB_Coordinate p)
 
WB_Point applyAsNormalSelf (final WB_Transform T)
 
WB_Point applyAsPointSelf (final WB_Transform T)
 
WB_Point applyAsVectorSelf (final WB_Transform T)
 
WB_Point crossSelf (final WB_Coordinate p)
 
WB_Point divSelf (final double f)
 
WB_Point mulAddMulSelf (final double f, final double g, final WB_Coordinate p)
 
WB_Point mulSelf (final double f)
 
WB_Point scaleSelf (final double f)
 
WB_Point scale (final double f)
 
WB_Point scaleSelf (final double fx, final double fy, final double fz)
 
WB_Point scale (final double fx, final double fy, final double fz)
 
WB_Point subSelf (final double x, final double y, final double z)
 
WB_Point subSelf (final WB_Coordinate v)
 
WB_Point trimSelf (final double d)
 
WB_Point add (final double...x)
 
WB_Point add (final WB_Coordinate p)
 
WB_Point addMul (final double f, final double...x)
 
WB_Point addMul (final double f, final WB_Coordinate p)
 
WB_Point apply (final WB_Transform T)
 
WB_Point applySelf (final WB_Transform T)
 
WB_Point applyAsNormal (final WB_Transform T)
 
WB_Point applyAsPoint (final WB_Transform T)
 
WB_Point applyAsVector (final WB_Transform T)
 
WB_Point cross (final WB_Coordinate p)
 
WB_Point div (final double f)
 
boolean equals (final Object o)
 
WB_Point get ()
 
int hashCode ()
 
WB_Point mul (final double f)
 
WB_Point mulAddMul (final double f, final double g, final WB_Coordinate p)
 
WB_Point sub (final double...x)
 
WB_Point sub (final WB_Coordinate p)
 
String toString ()
 
WB_Point getOrthoNormal2D ()
 
WB_Point getOrthoNormal3D ()
 
WB_Vector subToVector3D (final double x, final double y, final double z)
 
WB_Vector subToVector3D (final WB_Coordinate p)
 
WB_Vector subToVector2D (final double x, final double y, final double z)
 
WB_Vector subToVector2D (final WB_Coordinate p)
 
WB_Point rotateAbout2PointAxis (final double angle, final double p1x, final double p1y, final double p1z, final double p2x, final double p2y, final double p2z)
 
WB_Point rotateAbout2PointAxis (final double angle, final WB_Coordinate p1, final WB_Coordinate p2)
 
WB_Point rotateAbout2PointAxisSelf (final double angle, final double p1x, final double p1y, final double p1z, final double p2x, final double p2y, final double p2z)
 
WB_Point rotateAbout2PointAxisSelf (final double angle, final WB_Coordinate p1, final WB_Coordinate p2)
 
WB_Point rotateAboutAxis (final double angle, final double px, final double py, final double pz, final double ax, final double ay, final double az)
 
WB_Point rotateAboutAxis (final double angle, final WB_Coordinate p, final WB_Coordinate a)
 
WB_Point rotateAboutAxisSelf (final double angle, final double px, final double py, final double pz, final double ax, final double ay, final double az)
 
WB_Point rotateAboutAxisSelf (final double angle, final WB_Coordinate p, final WB_Coordinate a)
 
- Public Member Functions inherited from wblut.geom.WB_Vector
 WB_Vector ()
 
 WB_Vector (final double x, final double y)
 
 WB_Vector (final double x, final double y, final double z)
 
 WB_Vector (final double[] x)
 
 WB_Vector (final double[] fromPoint, final double[] toPoint)
 
 WB_Vector (final WB_Coordinate v)
 
 WB_Vector (final WB_Coordinate fromPoint, final WB_Coordinate toPoint)
 
WB_Vector addMulSelf (final double f, final double x, final double y, final double z)
 
WB_Vector addMulSelf (final double f, final WB_Coordinate p)
 
WB_Vector addSelf (final double x, final double y, final double z)
 
WB_Vector addSelf (final WB_Coordinate p)
 
WB_Vector applyAsNormalSelf (final WB_Transform T)
 
WB_Vector applyAsPointSelf (final WB_Transform T)
 
WB_Vector applyAsVectorSelf (final WB_Transform T)
 
WB_Vector crossSelf (final WB_Coordinate p)
 
WB_Vector divSelf (final double f)
 
void invert ()
 
WB_Vector mulAddMulSelf (final double f, final double g, final WB_Coordinate p)
 
WB_Vector mulSelf (final double f)
 
double normalizeSelf ()
 
WB_Vector scaleSelf (final double f)
 
WB_Vector scale (final double f)
 
WB_Vector scaleSelf (final double fx, final double fy, final double fz)
 
WB_Vector scale (final double fx, final double fy, final double fz)
 
WB_Vector subSelf (final double x, final double y, final double z)
 
WB_Vector subSelf (final WB_Coordinate v)
 
WB_Vector trimSelf (final double d)
 
double absDot (final WB_Coordinate p)
 
double absDot2D (final WB_Coordinate p)
 
WB_Vector add (final double...x)
 
void addInto (final WB_MutableCoordinate result, final double...x)
 
WB_Vector add (final WB_Coordinate p)
 
void addInto (final WB_MutableCoordinate result, final WB_Coordinate p)
 
WB_Vector addMul (final double f, final double...x)
 
void addMulInto (final WB_MutableCoordinate result, final double f, final double...x)
 
WB_Vector addMul (final double f, final WB_Coordinate p)
 
void addMulInto (final WB_MutableCoordinate result, final double f, final WB_Coordinate p)
 
WB_Vector apply (final WB_Transform T)
 
WB_Vector applySelf (final WB_Transform T)
 
void applyInto (final WB_Transform T, final WB_MutableCoordinate result)
 
WB_Vector applyAsNormal (final WB_Transform T)
 
void applyAsNormalInto (final WB_Transform T, final WB_MutableCoordinate result)
 
WB_Vector applyAsPoint (final WB_Transform T)
 
void applyAsPointInto (final WB_Transform T, final WB_MutableCoordinate result)
 
WB_Vector applyAsVector (final WB_Transform T)
 
void applyAsVectorInto (final WB_Transform T, final WB_MutableCoordinate result)
 
int compareTo (final WB_Coordinate p)
 
int compareToY1st (final WB_Coordinate p)
 
double[] coords ()
 
WB_Vector cross (final WB_Coordinate p)
 
void crossInto (final WB_MutableCoordinate result, final WB_Coordinate p)
 
WB_Vector div (final double f)
 
void divInto (final WB_MutableCoordinate result, final double f)
 
double dot (final WB_Coordinate p)
 
double dot2D (final WB_Coordinate p)
 
boolean equals (final Object o)
 
WB_Vector get ()
 
double getAngle (final WB_Coordinate p)
 
double getAngleNorm (final WB_Coordinate p)
 
double getDistance3D (final WB_Coordinate p)
 
double getDistance2D (final WB_Coordinate p)
 
double getLength3D ()
 
double getLength2D ()
 
double getSqDistance3D (final WB_Coordinate p)
 
double getSqDistance2D (final WB_Coordinate p)
 
double getSqLength3D ()
 
double getSqLength2D ()
 
int hashCode ()
 
double heading2D ()
 
boolean isCollinear (final WB_Coordinate p, final WB_Coordinate q)
 
boolean isParallel (final WB_Coordinate p)
 
boolean isParallel (final WB_Coordinate p, final double t)
 
boolean isParallelNorm (final WB_Coordinate p)
 
boolean isParallelNorm (final WB_Coordinate p, final double t)
 
boolean isZero ()
 
WB_Vector mul (final double f)
 
void mulInto (final WB_MutableCoordinate result, final double f)
 
WB_Vector mulAddMul (final double f, final double g, final WB_Coordinate p)
 
void mulAddMulInto (final WB_MutableCoordinate result, final double f, final double g, final WB_Coordinate p)
 
WB_Vector rotateAbout2PointAxisSelf (final double angle, final double p1x, final double p1y, final double p1z, final double p2x, final double p2y, final double p2z)
 
WB_Vector rotateAbout2PointAxisSelf (final double angle, final WB_Coordinate p1, final WB_Coordinate p2)
 
WB_Vector rotateAboutAxisSelf (final double angle, final WB_Coordinate p, final WB_Coordinate a)
 
WB_Vector rotateAboutAxisSelf (final double angle, final double px, final double py, final double pz, final double ax, final double ay, final double az)
 
WB_Vector rotateAbout2PointAxis (final double angle, final double p1x, final double p1y, final double p1z, final double p2x, final double p2y, final double p2z)
 
WB_Vector rotateAbout2PointAxis (final double angle, final WB_Coordinate p1, final WB_Coordinate p2)
 
WB_Vector rotateAboutAxis (final double angle, final double px, final double py, final double pz, final double ax, final double ay, final double az)
 
WB_Vector rotateAboutAxis (final double angle, final WB_Coordinate p, final WB_Coordinate a)
 
double scalarTriple (final WB_Coordinate v, final WB_Coordinate w)
 
void scaleInto (final double f, final WB_MutableCoordinate result)
 
boolean smallerThan (final WB_Coordinate otherXYZ)
 
WB_Vector sub (final double...x)
 
void subInto (final WB_MutableCoordinate result, final double...x)
 
WB_Vector sub (final WB_Coordinate p)
 
void subInto (final WB_MutableCoordinate result, final WB_Coordinate p)
 
WB_M33 tensor (final WB_Coordinate v)
 
String toString ()
 
WB_Vector getOrthoNormal2D ()
 
WB_Vector getOrthoNormal3D ()
 
WB_Coordinate mulAddMul (final double f, final double g, final double...x)
 
void mulAddMulInto (final WB_MutableCoordinate result, final double f, final double g, final double...x)
 
- Public Member Functions inherited from wblut.geom.WB_SimpleVector
 WB_SimpleVector ()
 
 WB_SimpleVector (final double x, final double y)
 
 WB_SimpleVector (final double x, final double y, final double z)
 
 WB_SimpleVector (final double[] x)
 
 WB_SimpleVector (final double[] fromPoint, final double[] toPoint)
 
 WB_SimpleVector (final WB_Coordinate v)
 
 WB_SimpleVector (final WB_Coordinate fromPoint, final WB_Coordinate toPoint)
 
void set (final double x, final double y)
 
void set (final double x, final double y, final double z)
 
void set (final double x, final double y, final double z, final double w)
 
void set (final WB_Coordinate v)
 
void setCoord (final int i, final double v)
 
void setW (final double w)
 
void setX (final double x)
 
void setY (final double y)
 
void setZ (final double z)
 
double wd ()
 
float wf ()
 
double xd ()
 
float xf ()
 
double yd ()
 
float yf ()
 
double zd ()
 
float zf ()
 
double getd (final int i)
 
float getf (final int i)
 
int compareTo (final WB_Coordinate p)
 
- Public Member Functions inherited from wblut.geom.WB_MutableCoordinate
void setX (double x)
 
void setY (double y)
 
void setZ (double z)
 
void setW (double w)
 
void setCoord (int i, double v)
 
void set (WB_Coordinate p)
 
void set (double x, double y)
 
void set (double x, double y, double z)
 
void set (double x, double y, double z, double w)
 
- Public Member Functions inherited from wblut.geom.WB_Coordinate
double getd (int i)
 
float getf (int i)
 
- Public Member Functions inherited from wblut.geom.WB_CoordinateTransform
void applyInto (final WB_Transform T, WB_MutableCoordinate result)
 

Static Public Member Functions

static WB_Coordinate X ()
 
static WB_Coordinate Y ()
 
static WB_Coordinate Z ()
 
static WB_Coordinate ZERO ()
 
static WB_Coordinate ORIGIN ()
 
- Static Public Member Functions inherited from wblut.geom.WB_Vector
static WB_Coordinate X ()
 
static WB_Coordinate Y ()
 
static WB_Coordinate Z ()
 
static WB_Coordinate ZERO ()
 

Constructor & Destructor Documentation

wblut.geom.WB_Point.WB_Point ( )
wblut.geom.WB_Point.WB_Point ( final double  x,
final double  y 
)
Parameters
x
y
wblut.geom.WB_Point.WB_Point ( final double  x,
final double  y,
final double  z 
)
Parameters
x
y
z
wblut.geom.WB_Point.WB_Point ( final double[]  x)
Parameters
x
wblut.geom.WB_Point.WB_Point ( final double[]  fromPoint,
final double[]  toPoint 
)
Parameters
fromPoint
toPoint
wblut.geom.WB_Point.WB_Point ( final WB_Coordinate  v)
Parameters
v
wblut.geom.WB_Point.WB_Point ( final WB_Coordinate  fromPoint,
final WB_Coordinate  toPoint 
)
Parameters
fromPoint
toPoint

Member Function Documentation

WB_Point wblut.geom.WB_Point.add ( final double...  x)

Add coordinate values.

Parameters
x
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.geom.WB_Point.add ( final WB_Coordinate  p)

Add coordinate values.

Parameters
p
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.geom.WB_Point.addMul ( final double  f,
final double...  x 
)

Add multiple of coordinate values.

Parameters
fmultiplier
x
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.geom.WB_Point.addMul ( final double  f,
final WB_Coordinate  p 
)

Add multiple of coordinate values.

Parameters
f
p
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.geom.WB_Point.addMulSelf ( final double  f,
final double  x,
final double  y,
final double  z 
)
Parameters
f
x
y
z
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

WB_Point wblut.geom.WB_Point.addMulSelf ( final double  f,
final WB_Coordinate  p 
)
Parameters
f
p
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

WB_Point wblut.geom.WB_Point.addSelf ( final double  x,
final double  y,
final double  z 
)
Parameters
x
y
z
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

WB_Point wblut.geom.WB_Point.addSelf ( final WB_Coordinate  p)
Parameters
p
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

WB_Point wblut.geom.WB_Point.apply ( final WB_Transform  T)
Parameters
T
Returns

Implements wblut.geom.WB_CoordinateTransform.

WB_Point wblut.geom.WB_Point.applyAsNormal ( final WB_Transform  T)
Parameters
T
Returns

Implements wblut.geom.WB_CoordinateTransform.

WB_Point wblut.geom.WB_Point.applyAsNormalSelf ( final WB_Transform  T)
Parameters
T
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

WB_Point wblut.geom.WB_Point.applyAsPoint ( final WB_Transform  T)
Parameters
T
Returns

Implements wblut.geom.WB_CoordinateTransform.

WB_Point wblut.geom.WB_Point.applyAsPointSelf ( final WB_Transform  T)
Parameters
T
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

WB_Point wblut.geom.WB_Point.applyAsVector ( final WB_Transform  T)
Parameters
T
Returns

Implements wblut.geom.WB_CoordinateTransform.

WB_Point wblut.geom.WB_Point.applyAsVectorSelf ( final WB_Transform  T)
Parameters
T
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

WB_Point wblut.geom.WB_Point.applySelf ( final WB_Transform  T)
Parameters
T
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

WB_Point wblut.geom.WB_Point.cross ( final WB_Coordinate  p)

Cross product of this coordinate with other coordinate.

Parameters
p
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.geom.WB_Point.crossSelf ( final WB_Coordinate  p)
Parameters
p
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

WB_Point wblut.geom.WB_Point.div ( final double  f)

Divide by factor.

Parameters
f
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.geom.WB_Point.divSelf ( final double  f)
Parameters
f
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

boolean wblut.geom.WB_Point.equals ( final Object  o)
WB_Point wblut.geom.WB_Point.get ( )
WB_Point wblut.geom.WB_Point.getOrthoNormal2D ( )
Returns

Implements wblut.geom.WB_CoordinateMetric.

WB_Point wblut.geom.WB_Point.getOrthoNormal3D ( )
Returns

Implements wblut.geom.WB_CoordinateMetric.

int wblut.geom.WB_Point.hashCode ( )
WB_Point wblut.geom.WB_Point.mul ( final double  f)

Multiply by factor.

Parameters
f
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.geom.WB_Point.mulAddMul ( final double  f,
final double  g,
final WB_Coordinate  p 
)

Multiply this coordinate by factor f and add other coordinate values multiplied by g.

Parameters
f
g
p
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.geom.WB_Point.mulAddMulSelf ( final double  f,
final double  g,
final WB_Coordinate  p 
)
Parameters
f
g
p
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

WB_Point wblut.geom.WB_Point.mulSelf ( final double  f)
Parameters
f
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

static WB_Coordinate wblut.geom.WB_Point.ORIGIN ( )
static
Returns
WB_Point wblut.geom.WB_Point.rotateAbout2PointAxis ( final double  angle,
final double  p1x,
final double  p1y,
final double  p1z,
final double  p2x,
final double  p2y,
final double  p2z 
)
Parameters
angle
p1x
p1y
p1z
p2x
p2y
p2z
Returns

Implements wblut.geom.WB_CoordinateTransform.

WB_Point wblut.geom.WB_Point.rotateAbout2PointAxis ( final double  angle,
final WB_Coordinate  p1,
final WB_Coordinate  p2 
)
Parameters
angle
p1
p2
Returns

Implements wblut.geom.WB_CoordinateTransform.

WB_Point wblut.geom.WB_Point.rotateAbout2PointAxisSelf ( final double  angle,
final double  p1x,
final double  p1y,
final double  p1z,
final double  p2x,
final double  p2y,
final double  p2z 
)
Parameters
angle
p1x
p1y
p1z
p2x
p2y
p2z
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

WB_Point wblut.geom.WB_Point.rotateAbout2PointAxisSelf ( final double  angle,
final WB_Coordinate  p1,
final WB_Coordinate  p2 
)
Parameters
angle
p1
p2
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

WB_Point wblut.geom.WB_Point.rotateAboutAxis ( final double  angle,
final double  px,
final double  py,
final double  pz,
final double  ax,
final double  ay,
final double  az 
)
Parameters
angle
px
py
pz
ax
ay
az
Returns

Implements wblut.geom.WB_CoordinateTransform.

WB_Point wblut.geom.WB_Point.rotateAboutAxis ( final double  angle,
final WB_Coordinate  p,
final WB_Coordinate  a 
)
Parameters
angle
p
a
Returns

Implements wblut.geom.WB_CoordinateTransform.

WB_Point wblut.geom.WB_Point.rotateAboutAxisSelf ( final double  angle,
final double  px,
final double  py,
final double  pz,
final double  ax,
final double  ay,
final double  az 
)
Parameters
angle
px
py
pz
ax
ay
az
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

WB_Point wblut.geom.WB_Point.rotateAboutAxisSelf ( final double  angle,
final WB_Coordinate  p,
final WB_Coordinate  a 
)
Parameters
angle
p
a
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

WB_Point wblut.geom.WB_Point.scale ( final double  f)
Parameters
f
Returns

Implements wblut.geom.WB_CoordinateTransform.

WB_Point wblut.geom.WB_Point.scale ( final double  fx,
final double  fy,
final double  fz 
)
Parameters
fx
fy
fz
Returns

Implements wblut.geom.WB_CoordinateTransform.

WB_Point wblut.geom.WB_Point.scaleSelf ( final double  f)
Parameters
f
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

WB_Point wblut.geom.WB_Point.scaleSelf ( final double  fx,
final double  fy,
final double  fz 
)
Parameters
fx
fy
fz
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

WB_Point wblut.geom.WB_Point.sub ( final double...  x)

Subtract coordinate values.

Parameters
x
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.geom.WB_Point.sub ( final WB_Coordinate  p)

Subtract coordinate values.

Parameters
p
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.geom.WB_Point.subSelf ( final double  x,
final double  y,
final double  z 
)
Parameters
x
y
z
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

WB_Point wblut.geom.WB_Point.subSelf ( final WB_Coordinate  v)
Parameters
v
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

WB_Vector wblut.geom.WB_Point.subToVector2D ( final double  x,
final double  y,
final double  z 
)
Parameters
x
y
z
Returns
WB_Vector wblut.geom.WB_Point.subToVector2D ( final WB_Coordinate  p)
Parameters
p
Returns
WB_Vector wblut.geom.WB_Point.subToVector3D ( final double  x,
final double  y,
final double  z 
)
Parameters
x
y
z
Returns
WB_Vector wblut.geom.WB_Point.subToVector3D ( final WB_Coordinate  p)
Parameters
p
Returns
String wblut.geom.WB_Point.toString ( )
WB_Point wblut.geom.WB_Point.trimSelf ( final double  d)
Parameters
d
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

static WB_Coordinate wblut.geom.WB_Point.X ( )
static
Returns
static WB_Coordinate wblut.geom.WB_Point.Y ( )
static
Returns
static WB_Coordinate wblut.geom.WB_Point.Z ( )
static
Returns
static WB_Coordinate wblut.geom.WB_Point.ZERO ( )
static
Returns

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