HE_Mesh
5.1.2
|
Public Member Functions | |
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 | isZero () |
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) |
Interface for implementing metric operations on 2D coordinates.
None of the operators change the calling object.
double wblut.geom.WB_CoordinateMetric2D.getAngle | ( | final WB_Coord | p | ) |
Angle between two vectors.
p |
Implemented in wblut.hemesh.HE_Vertex, wblut.geom.WB_Vector, and wblut.geom.WB_Vector2D.
double wblut.geom.WB_CoordinateMetric2D.getAngleNorm | ( | final WB_Coord | p | ) |
Angle between two normalized vectors.
p |
Implemented in wblut.hemesh.HE_Vertex, wblut.geom.WB_Vector, and wblut.geom.WB_Vector2D.
double wblut.geom.WB_CoordinateMetric2D.getDistance2D | ( | final WB_Coord | p | ) |
2D distance to coordinate
p |
Implemented in wblut.hemesh.HE_Vertex, wblut.geom.WB_Vector, and wblut.geom.WB_Vector2D.
double wblut.geom.WB_CoordinateMetric2D.getHeading2D | ( | ) |
2D heading of vector.
Implemented in wblut.hemesh.HE_Vertex, wblut.geom.WB_Vector, and wblut.geom.WB_Vector2D.
double wblut.geom.WB_CoordinateMetric2D.getLength2D | ( | ) |
Length of 2D coordinate.
Implemented in wblut.hemesh.HE_Vertex, wblut.geom.WB_Vector, and wblut.geom.WB_Vector2D.
WB_Coord wblut.geom.WB_CoordinateMetric2D.getOrthoNormal2D | ( | ) |
Get 2D vector perpendicular and CCW to this one.
Implemented in wblut.hemesh.HE_Vertex, wblut.geom.WB_Vector, and wblut.geom.WB_Vector2D.
double wblut.geom.WB_CoordinateMetric2D.getSqDistance2D | ( | final WB_Coord | p | ) |
Square 2D distance to coordinate.
p |
Implemented in wblut.hemesh.HE_Vertex, wblut.geom.WB_Vector, and wblut.geom.WB_Vector2D.
double wblut.geom.WB_CoordinateMetric2D.getSqLength2D | ( | ) |
Square length of 2D coordinate.
Implemented in wblut.hemesh.HE_Vertex, wblut.geom.WB_Vector, and wblut.geom.WB_Vector2D.
Is this point collinear with two other points?
p | |
q |
boolean wblut.geom.WB_CoordinateMetric2D.isOrthogonal2D | ( | WB_Coord | p | ) |
Is this vector perpendicular to other vector?
p |
boolean wblut.geom.WB_CoordinateMetric2D.isOrthogonal2D | ( | WB_Coord | p, |
double | tol | ||
) |
Is this vector, within a given tolerance, perpendicular to other vector?
p | |
tol |
boolean wblut.geom.WB_CoordinateMetric2D.isOrthogonalNorm2D | ( | WB_Coord | p | ) |
Is this normalized vector perpendicular to other normalized vector?
p |
boolean wblut.geom.WB_CoordinateMetric2D.isOrthogonalNorm2D | ( | WB_Coord | p, |
double | tol | ||
) |
Is this normalized vector, within a given tolerance, perpendicular to other normalized vector?
p | |
tol |
boolean wblut.geom.WB_CoordinateMetric2D.isParallel2D | ( | WB_Coord | p | ) |
Is this vector parallel with other vector?
p |
boolean wblut.geom.WB_CoordinateMetric2D.isParallel2D | ( | WB_Coord | p, |
double | tol | ||
) |
Is this vector, within a given tolerance, parallel with other vector?
p | |
tol |
boolean wblut.geom.WB_CoordinateMetric2D.isParallelNorm2D | ( | WB_Coord | p | ) |
Is this normalized vector parallel with other normalized vector?
p |
boolean wblut.geom.WB_CoordinateMetric2D.isParallelNorm2D | ( | WB_Coord | p, |
double | tol | ||
) |
Is this normalized vector, within a given tolerance, parallel with other normalized vector?
p | |
tol |
boolean wblut.geom.WB_CoordinateMetric2D.isZero | ( | ) |
Is this a degenerate vector?
Implemented in wblut.geom.WB_Vector, wblut.hemesh.HE_Vertex, wblut.geom.WB_Vector2D, and wblut.geom.WB_CoordinateMetric3D.