C# Класс R3.Geometry.Euclidean3D

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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 transform ) : double
NormalFrom3Points ( Vector3D p1, Vector3D p2, Vector3D p3 ) : Vector3D
NormalFrom3Points ( Vector3D p1, Vector3D p2, Vector3D p3, Vector3D>.System transform ) : Vector3D

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 transform ) : double

Описание методов

Coplanar() публичный статический Метод

public static Coplanar ( Vector3D points ) : bool
points Vector3D
Результат bool

DistanceLineLine() публичный статический Метод

public static DistanceLineLine ( Vector3D n1, Vector3D p1, Vector3D n2, Vector3D p2 ) : double
n1 Vector3D
p1 Vector3D
n2 Vector3D
p2 Vector3D
Результат double

DistancePointLine() публичный статический Метод

public static DistancePointLine ( Vector3D n1, Vector3D p1, Vector3D point ) : double
n1 Vector3D
p1 Vector3D
point Vector3D
Результат double

DistancePointPlane() публичный статический Метод

public static DistancePointPlane ( Vector3D normalVector, Vector3D planePoint, Vector3D point ) : double
normalVector Vector3D
planePoint Vector3D
point Vector3D
Результат double

DoSegmentsIntersect() публичный статический Метод

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
public static DoSegmentsIntersect ( Vector3D a1, Vector3D a2, Vector3D b1, Vector3D b2 ) : bool
a1 Vector3D
a2 Vector3D
b1 Vector3D
b2 Vector3D
Результат bool

MaxTriangleEdgeLengthAfterTransform() публичный статический Метод

public static MaxTriangleEdgeLengthAfterTransform ( Vector3D &p1, Vector3D &p2, Vector3D &p3, Vector3D>.System transform ) : double
p1 Vector3D
p2 Vector3D
p3 Vector3D
transform Vector3D>.System
Результат double

NormalFrom3Points() публичный статический Метод

public static NormalFrom3Points ( Vector3D p1, Vector3D p2, Vector3D p3 ) : Vector3D
p1 Vector3D
p2 Vector3D
p3 Vector3D
Результат Vector3D

NormalFrom3Points() публичный статический Метод

Calculate a plane normal after a transformation function is applied to the points.
public static NormalFrom3Points ( Vector3D p1, Vector3D p2, Vector3D p3, Vector3D>.System transform ) : Vector3D
p1 Vector3D
p2 Vector3D
p3 Vector3D
transform Vector3D>.System
Результат Vector3D

PointOnSegment() публичный статический Метод

Checks if a point is anywhere on a segment.
public static PointOnSegment ( Vector3D s1, Vector3D s2, Vector3D point ) : bool
s1 Vector3D
s2 Vector3D
point Vector3D
Результат bool

ProjectOntoLine() публичный статический Метод

public static ProjectOntoLine ( Vector3D nl, Vector3D pl, Vector3D point ) : Vector3D
nl Vector3D
pl Vector3D
point Vector3D
Результат Vector3D

ProjectOntoPlane() публичный статический Метод

public static ProjectOntoPlane ( Vector3D normalVector, Vector3D planePoint, Vector3D point ) : Vector3D
normalVector Vector3D
planePoint Vector3D
point Vector3D
Результат Vector3D

TriangleAreaAfterTransform() публичный статический Метод

public static TriangleAreaAfterTransform ( Vector3D &p1, Vector3D &p2, Vector3D &p3, Vector3D>.System transform ) : double
p1 Vector3D
p2 Vector3D
p3 Vector3D
transform Vector3D>.System
Результат double