Method | Description | |
---|---|---|
Coplanar ( Vector3D points ) : bool | ||
DistanceLineLine ( Vector3D n1, Vector3D p1, Vector3D n2, Vector3D p2 ) : double | ||
DistancePointLine ( Vector3D n1, Vector3D p1, Vector3D point ) : double | ||
DistancePointPlane ( Vector3D normalVector, Vector3D planePoint, Vector3D point ) : double | ||
DoSegmentsIntersect ( Vector3D a1, Vector3D a2, Vector3D b1, Vector3D b2 ) : bool |
Checks to see if two segments intersect. This does not actually calculate the intersection point. It uses information from the following paper: http://www.geometrictools.com/Documentation/DistanceLine3Line3.pdf
|
|
MaxTriangleEdgeLengthAfterTransform ( Vector3D &p1, Vector3D &p2, Vector3D &p3, Vector3D>.System |
||
NormalFrom3Points ( Vector3D p1, Vector3D p2, Vector3D p3 ) : Vector3D | ||
NormalFrom3Points ( Vector3D p1, Vector3D p2, Vector3D p3, Vector3D>.System |
Calculate a plane normal after a transformation function is applied to the points.
|
|
PointOnSegment ( Vector3D s1, Vector3D s2, Vector3D point ) : bool |
Checks if a point is anywhere on a segment.
|
|
ProjectOntoLine ( Vector3D nl, Vector3D pl, Vector3D point ) : Vector3D | ||
ProjectOntoPlane ( Vector3D normalVector, Vector3D planePoint, Vector3D point ) : Vector3D | ||
TriangleAreaAfterTransform ( Vector3D &p1, Vector3D &p2, Vector3D &p3, Vector3D>.System |
public static Coplanar ( Vector3D points ) : bool | ||
points | Vector3D | |
return | bool |
public static DistanceLineLine ( Vector3D n1, Vector3D p1, Vector3D n2, Vector3D p2 ) : double | ||
n1 | Vector3D | |
p1 | Vector3D | |
n2 | Vector3D | |
p2 | Vector3D | |
return | double |
public static DistancePointLine ( Vector3D n1, Vector3D p1, Vector3D point ) : double | ||
n1 | Vector3D | |
p1 | Vector3D | |
point | Vector3D | |
return | double |
public static DistancePointPlane ( Vector3D normalVector, Vector3D planePoint, Vector3D point ) : double | ||
normalVector | Vector3D | |
planePoint | Vector3D | |
point | Vector3D | |
return | double |
public static DoSegmentsIntersect ( Vector3D a1, Vector3D a2, Vector3D b1, Vector3D b2 ) : bool | ||
a1 | Vector3D | |
a2 | Vector3D | |
b1 | Vector3D | |
b2 | Vector3D | |
return | bool |
public static MaxTriangleEdgeLengthAfterTransform ( Vector3D &p1, Vector3D &p2, Vector3D &p3, Vector3D>.System |
||
p1 | Vector3D | |
p2 | Vector3D | |
p3 | Vector3D | |
transform | Vector3D>.System | |
return | double |
public static NormalFrom3Points ( Vector3D p1, Vector3D p2, Vector3D p3 ) : Vector3D | ||
p1 | Vector3D | |
p2 | Vector3D | |
p3 | Vector3D | |
return | Vector3D |
public static NormalFrom3Points ( Vector3D p1, Vector3D p2, Vector3D p3, Vector3D>.System |
||
p1 | Vector3D | |
p2 | Vector3D | |
p3 | Vector3D | |
transform | Vector3D>.System | |
return | Vector3D |
public static PointOnSegment ( Vector3D s1, Vector3D s2, Vector3D point ) : bool | ||
s1 | Vector3D | |
s2 | Vector3D | |
point | Vector3D | |
return | bool |
public static ProjectOntoLine ( Vector3D nl, Vector3D pl, Vector3D point ) : Vector3D | ||
nl | Vector3D | |
pl | Vector3D | |
point | Vector3D | |
return | Vector3D |
public static ProjectOntoPlane ( Vector3D normalVector, Vector3D planePoint, Vector3D point ) : Vector3D | ||
normalVector | Vector3D | |
planePoint | Vector3D | |
point | Vector3D | |
return | Vector3D |
public static TriangleAreaAfterTransform ( Vector3D &p1, Vector3D &p2, Vector3D &p3, Vector3D>.System |
||
p1 | Vector3D | |
p2 | Vector3D | |
p3 | Vector3D | |
transform | Vector3D>.System | |
return | double |