#include <albaGeometryUtils.h>
|
static double | Dot (double *point1, double *point2) |
|
static double | Mag (double *point1) |
|
static float | Norm2 (double *point1) |
|
static double | Norm (double *point1) |
|
static void | Cross (double *point1, double *point2, double *cross) |
|
static bool | Equal (double *point1, double *point2) |
|
static double | DistanceBetweenPoints (double *point1, double *point2) |
|
static void | GetMidPoint (double(&midPoint)[3], double *point1, double *point2) |
|
static double | DistancePointToLine (double *point, double *lineP1, double *lineP2, int plane=XY) |
|
static double | GetAngle (double *point1, double *point2, double *origin, int plane=XY) |
|
static double | GetAngle (double point1[3], double point2[3]) |
|
static void | RotatePoint (double *point, double *origin, double angle, int plane=XY) |
|
static bool | GetLineLineIntersection (double(&point)[3], double *line1Point1, double *line1Point2, double *line2Point1, double *line2Point2, int plane=XY) |
|
static int | IntersectLineLine (double *l1p1, double *l1p2, double *l2p1, double *l2p2, double &perc) |
|
static void | GetParallelLine (double(&point1)[3], double(&point2)[3], double *linePoint1, double *linePoint2, double distance, int plane=XY) |
|
static bool | FindPointOnLine (double(&point)[3], double *linePoint1, double *linePoint2, double distance, int plane=XY) |
|
static int | PointUpDownLine (double *point, double *lp1, double *lp2, int plane=XY) |
|
Class Name: albaGeometryUtils.
Definition at line 26 of file albaGeometryUtils.h.
◆ anonymous enum
◆ anonymous enum
◆ Dot()
static double albaGeometryUtils::Dot |
( |
double * |
point1, |
|
|
double * |
point2 |
|
) |
| |
|
static |
◆ Mag()
static double albaGeometryUtils::Mag |
( |
double * |
point1 | ) |
|
|
static |
◆ Norm2()
static float albaGeometryUtils::Norm2 |
( |
double * |
point1 | ) |
|
|
static |
◆ Norm()
static double albaGeometryUtils::Norm |
( |
double * |
point1 | ) |
|
|
static |
◆ Cross()
static void albaGeometryUtils::Cross |
( |
double * |
point1, |
|
|
double * |
point2, |
|
|
double * |
cross |
|
) |
| |
|
static |
◆ Equal()
static bool albaGeometryUtils::Equal |
( |
double * |
point1, |
|
|
double * |
point2 |
|
) |
| |
|
static |
◆ DistanceBetweenPoints()
static double albaGeometryUtils::DistanceBetweenPoints |
( |
double * |
point1, |
|
|
double * |
point2 |
|
) |
| |
|
static |
◆ GetMidPoint()
static void albaGeometryUtils::GetMidPoint |
( |
double(&) |
midPoint[3], |
|
|
double * |
point1, |
|
|
double * |
point2 |
|
) |
| |
|
static |
◆ DistancePointToLine()
static double albaGeometryUtils::DistancePointToLine |
( |
double * |
point, |
|
|
double * |
lineP1, |
|
|
double * |
lineP2, |
|
|
int |
plane = XY |
|
) |
| |
|
static |
◆ GetAngle() [1/2]
static double albaGeometryUtils::GetAngle |
( |
double * |
point1, |
|
|
double * |
point2, |
|
|
double * |
origin, |
|
|
int |
plane = XY |
|
) |
| |
|
static |
◆ GetAngle() [2/2]
static double albaGeometryUtils::GetAngle |
( |
double |
point1[3], |
|
|
double |
point2[3] |
|
) |
| |
|
static |
◆ RotatePoint()
static void albaGeometryUtils::RotatePoint |
( |
double * |
point, |
|
|
double * |
origin, |
|
|
double |
angle, |
|
|
int |
plane = XY |
|
) |
| |
|
static |
◆ GetLineLineIntersection()
static bool albaGeometryUtils::GetLineLineIntersection |
( |
double(&) |
point[3], |
|
|
double * |
line1Point1, |
|
|
double * |
line1Point2, |
|
|
double * |
line2Point1, |
|
|
double * |
line2Point2, |
|
|
int |
plane = XY |
|
) |
| |
|
static |
◆ IntersectLineLine()
static int albaGeometryUtils::IntersectLineLine |
( |
double * |
l1p1, |
|
|
double * |
l1p2, |
|
|
double * |
l2p1, |
|
|
double * |
l2p2, |
|
|
double & |
perc |
|
) |
| |
|
static |
◆ GetParallelLine()
static void albaGeometryUtils::GetParallelLine |
( |
double(&) |
point1[3], |
|
|
double(&) |
point2[3], |
|
|
double * |
linePoint1, |
|
|
double * |
linePoint2, |
|
|
double |
distance, |
|
|
int |
plane = XY |
|
) |
| |
|
static |
◆ FindPointOnLine()
static bool albaGeometryUtils::FindPointOnLine |
( |
double(&) |
point[3], |
|
|
double * |
linePoint1, |
|
|
double * |
linePoint2, |
|
|
double |
distance, |
|
|
int |
plane = XY |
|
) |
| |
|
static |
◆ PointUpDownLine()
static int albaGeometryUtils::PointUpDownLine |
( |
double * |
point, |
|
|
double * |
lp1, |
|
|
double * |
lp2, |
|
|
int |
plane = XY |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: