HE_Mesh  5.1.2
wblut.geom.WB_CoordinateMetric3D Interface Reference
+ Inheritance diagram for wblut.geom.WB_CoordinateMetric3D:

Public Member Functions

double getLength3D ()
 
double getSqLength3D ()
 
double getDistance3D (final WB_Coord p)
 
double getSqDistance3D (final WB_Coord p)
 
WB_Coord getOrthoNormal3D ()
 
double getLength ()
 
double getSqLength ()
 
double getDistance (final WB_Coord p)
 
double getSqDistance (final WB_Coord p)
 
WB_Coord getOrthoNormal ()
 
boolean isZero ()
 
boolean isCollinear (WB_Coord p, WB_Coord q)
 
boolean isParallel (WB_Coord p)
 
boolean isParallel (WB_Coord p, double tol)
 
boolean isParallelNorm (WB_Coord p)
 
boolean isParallelNorm (WB_Coord p, double tol)
 
boolean isOrthogonal (WB_Coord p)
 
boolean isOrthogonal (WB_Coord p, double tol)
 
boolean isOrthogonalNorm (WB_Coord p)
 
boolean isOrthogonalNorm (WB_Coord p, double tol)
 
- Public Member Functions inherited from wblut.geom.WB_CoordinateMetric2D
double getLength2D ()
 
double getSqLength2D ()
 
double getDistance2D (final WB_Coord p)
 
double getSqDistance2D (final WB_Coord p)
 
double getAngle (final WB_Coord p)
 
double getAngleNorm (final WB_Coord p)
 
double getHeading2D ()
 
WB_Coord getOrthoNormal2D ()
 
boolean isCollinear2D (WB_Coord p, WB_Coord q)
 
boolean isParallel2D (WB_Coord p)
 
boolean isParallel2D (WB_Coord p, double tol)
 
boolean isParallelNorm2D (WB_Coord p)
 
boolean isParallelNorm2D (WB_Coord p, double tol)
 
boolean isOrthogonal2D (WB_Coord p)
 
boolean isOrthogonal2D (WB_Coord p, double tol)
 
boolean isOrthogonalNorm2D (WB_Coord p)
 
boolean isOrthogonalNorm2D (WB_Coord p, double tol)
 

Detailed Description

Interface for implementing metric operations on 3D coordinates.

None of the operators change the calling object.

Author
Frederik Vanhoutte

Member Function Documentation

double wblut.geom.WB_CoordinateMetric3D.getDistance ( final WB_Coord  p)

3D distance to coordinate

Parameters
p
Returns

Implemented in wblut.hemesh.HE_Vertex, and wblut.geom.WB_Vector.

double wblut.geom.WB_CoordinateMetric3D.getDistance3D ( final WB_Coord  p)
Parameters
p
Returns

Implemented in wblut.hemesh.HE_Vertex, and wblut.geom.WB_Vector.

double wblut.geom.WB_CoordinateMetric3D.getLength ( )

Length of 3D coordinate.

Returns

Implemented in wblut.hemesh.HE_Vertex, and wblut.geom.WB_Vector.

double wblut.geom.WB_CoordinateMetric3D.getLength3D ( )
Returns
Deprecated:
Use getLength() instead

Implemented in wblut.hemesh.HE_Vertex, and wblut.geom.WB_Vector.

WB_Coord wblut.geom.WB_CoordinateMetric3D.getOrthoNormal ( )

Get vector perpendicular and CCW to this one.

Returns

Implemented in wblut.hemesh.HE_Vertex, and wblut.geom.WB_Vector.

WB_Coord wblut.geom.WB_CoordinateMetric3D.getOrthoNormal3D ( )
double wblut.geom.WB_CoordinateMetric3D.getSqDistance ( final WB_Coord  p)

Square 3D distance to coordinate.

Parameters
p
Returns

Implemented in wblut.hemesh.HE_Vertex, and wblut.geom.WB_Vector.

double wblut.geom.WB_CoordinateMetric3D.getSqDistance3D ( final WB_Coord  p)
Parameters
p
Returns

Implemented in wblut.hemesh.HE_Vertex, and wblut.geom.WB_Vector.

double wblut.geom.WB_CoordinateMetric3D.getSqLength ( )

Square length of 3D coordinate.

Returns

Implemented in wblut.hemesh.HE_Vertex, and wblut.geom.WB_Vector.

double wblut.geom.WB_CoordinateMetric3D.getSqLength3D ( )
Returns
Deprecated:
Use getSqLength() instead

Implemented in wblut.hemesh.HE_Vertex, and wblut.geom.WB_Vector.

boolean wblut.geom.WB_CoordinateMetric3D.isCollinear ( WB_Coord  p,
WB_Coord  q 
)

Is this point collinear with two other points?

Parameters
p
q
Returns
boolean wblut.geom.WB_CoordinateMetric3D.isOrthogonal ( WB_Coord  p)

Is this vector perpendicular to other vector?

Parameters
p
Returns
boolean wblut.geom.WB_CoordinateMetric3D.isOrthogonal ( WB_Coord  p,
double  tol 
)

Is this vector, within a given tolerance, perpendicular to other vector?

Parameters
p
tol
Returns
boolean wblut.geom.WB_CoordinateMetric3D.isOrthogonalNorm ( WB_Coord  p)

Is this normalized vector perpendicular to other normalized vector?

Parameters
p
Returns
boolean wblut.geom.WB_CoordinateMetric3D.isOrthogonalNorm ( WB_Coord  p,
double  tol 
)

Is this normalized vector, within a given tolerance, perpendicular to other normalized vector?

Parameters
p
tol
Returns
boolean wblut.geom.WB_CoordinateMetric3D.isParallel ( WB_Coord  p)

Is this vector parallel with other vector?

Parameters
p
Returns
boolean wblut.geom.WB_CoordinateMetric3D.isParallel ( WB_Coord  p,
double  tol 
)

Is this vector, within a given tolerance, parallel with other vector?

Parameters
p
tol
Returns
boolean wblut.geom.WB_CoordinateMetric3D.isParallelNorm ( WB_Coord  p)

Is this normalized vector parallel with other normalized vector?

Parameters
p
Returns
boolean wblut.geom.WB_CoordinateMetric3D.isParallelNorm ( WB_Coord  p,
double  tol 
)

Is this normalized vector, within a given tolerance, parallel with other normalized vector?

Parameters
p
tol
Returns
boolean wblut.geom.WB_CoordinateMetric3D.isZero ( )

Is this a degenerate vector?

Returns

Implements wblut.geom.WB_CoordinateMetric2D.

Implemented in wblut.geom.WB_Vector, and wblut.hemesh.HE_Vertex.


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