C# 클래스 R3.Geometry.Euclidean3D

파일 보기 프로젝트 열기: roice3/Honeycombs 1 사용 예제들

공개 메소드들

메소드 설명
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