C# 클래스 Nexus.Objects3D.Triangle3D

파일 보기 프로젝트 열기: tgjones/nexus

공개 프로퍼티들

프로퍼티 타입 설명
A Point3D
B Point3D
C Point3D

공개 메소드들

메소드 설명
Area2D ( float x1, float y1, float x2, float y2, float x3, float y3 ) : float
Barycentric ( Point3D p ) : Vector3D

Compute barycentric coordinates (u, v, w) for point p with respect to this triangle. Real Time Collision Detection, p47.

Triangle3D ( Point3D a, Point3D b, Point3D c )

메소드 상세

Area2D() 공개 정적인 메소드

public static Area2D ( float x1, float y1, float x2, float y2, float x3, float y3 ) : float
x1 float
y1 float
x2 float
y2 float
x3 float
y3 float
리턴 float

Barycentric() 공개 메소드

Compute barycentric coordinates (u, v, w) for point p with respect to this triangle. Real Time Collision Detection, p47.
public Barycentric ( Point3D p ) : Vector3D
p Point3D
리턴 Vector3D

Triangle3D() 공개 메소드

public Triangle3D ( Point3D a, Point3D b, Point3D c )
a Point3D
b Point3D
c Point3D

프로퍼티 상세

A 공개적으로 프로퍼티

public Point3D A
리턴 Point3D

B 공개적으로 프로퍼티

public Point3D B
리턴 Point3D

C 공개적으로 프로퍼티

public Point3D C
리턴 Point3D