Auki::Ark::MathFuncs
Public Functions
Name | |
---|---|
double | FourWayIntersectionSignsOnly(Vector2d p1, Vector2d dir1, Vector2d p2, Vector2d dir2) |
Vector2 | LineToLineIntersection(Vector2 l1A, Vector2 l1B, Vector2 l2A, Vector2 l2B, float determinantTolerance =0.000001f) |
Vector2d | LineToLineIntersection(Vector2d l1A, Vector2d l1B, Vector2d l2A, Vector2d l2B, double determinantTolerance =0.000001) |
Vector3 | PointDirPlaneIntersection(Vector3 p, Vector3 dir, Vector3 q, Vector3 normal) |
float | AngleBetweenInDegrees(Vector3 pt1, Vector3 pt2) |
float | ABCAngleInDegrees(Vector3 a, Vector3 b, Vector3 c) |
Vector3 | ParallelComponent(Vector3 v1, Vector3 v2) |
Vector3 | PerpendicularComponent(Vector3 v1, Vector3 v2) |
Vector2 | ProjectedOntoSegment(Vector2 A, Vector2 B, Vector2 pt) |
float | RelativeDistanceToLine(Vector2 A, Vector2 B, Vector2 pt) |
Public Attributes
Name | |
---|---|
static | double |
Public Functions Documentation
function FourWayIntersectionSignsOnly
static double FourWayIntersectionSignsOnly(
Vector2d p1,
Vector2d dir1,
Vector2d p2,
Vector2d dir2
)
function LineToLineIntersection
static Vector2 LineToLineIntersection(
Vector2 l1A,
Vector2 l1B,
Vector2 l2A,
Vector2 l2B,
float determinantTolerance =0.000001f
)
function LineToLineIntersection
static Vector2d LineToLineIntersection(
Vector2d l1A,
Vector2d l1B,
Vector2d l2A,
Vector2d l2B,
double determinantTolerance =0.000001
)
function PointDirPlaneIntersection
static Vector3 PointDirPlaneIntersection(
Vector3 p,
Vector3 dir,
Vector3 q,
Vector3 normal
)
function AngleBetweenInDegrees
static float AngleBetweenInDegrees(
Vector3 pt1,
Vector3 pt2
)
function ABCAngleInDegrees
static float ABCAngleInDegrees(
Vector3 a,
Vector3 b,
Vector3 c
)
function ParallelComponent
static Vector3 ParallelComponent(
Vector3 v1,
Vector3 v2
)
function PerpendicularComponent
static Vector3 PerpendicularComponent(
Vector3 v1,
Vector3 v2
)
function ProjectedOntoSegment
static Vector2 ProjectedOntoSegment(
Vector2 A,
Vector2 B,
Vector2 pt
)
function RelativeDistanceToLine
static float RelativeDistanceToLine(
Vector2 A,
Vector2 B,
Vector2 pt
)
Public Attributes Documentation
variable double
static static double;