C# 클래스 Vector.Math.Triangle

파일 보기 프로젝트 열기: sinclairzx81/vector-cs

공개 프로퍼티들

프로퍼티 타입 설명
vert0 Vector3
vert1 Vector3
vert2 Vector3

공개 메소드들

메소드 설명
Intersect ( Plane plane ) : bool

Test for the intersection of this plane with this Triangle.

Intersect ( Plane plane, Vector3 vert0, Vector3 vert1, Vector3 vert2 ) : bool

Test for the intersection of this plane with this Triangle.

Intersect ( Ray ray ) : bool

Tests for a intersection bewteen this Ray and this Triangle.

Intersect ( Ray ray, Vector3 vert0, Vector3 vert1, Vector3 vert2, float &t ) : bool

Tests for a intersection between this Ray and this Triangle.

Split ( Plane plane, Vector3 vert0, Vector3 vert1, Vector3 vert2 ) : Vector.Math.Triangle[]

Splits a triangle by a plane. If no split is possible, then return original triangle.

Triangle ( Vector3 vert0, Vector3 vert1, Vector3 vert2 ) : System.Runtime.InteropServices

메소드 상세

Intersect() 공개 메소드

Test for the intersection of this plane with this Triangle.
public Intersect ( Plane plane ) : bool
plane Plane
리턴 bool

Intersect() 공개 정적인 메소드

Test for the intersection of this plane with this Triangle.
public static Intersect ( Plane plane, Vector3 vert0, Vector3 vert1, Vector3 vert2 ) : bool
plane Plane
vert0 Vector3
vert1 Vector3
vert2 Vector3
리턴 bool

Intersect() 공개 메소드

Tests for a intersection bewteen this Ray and this Triangle.
public Intersect ( Ray ray ) : bool
ray Ray
리턴 bool

Intersect() 공개 정적인 메소드

Tests for a intersection between this Ray and this Triangle.
public static Intersect ( Ray ray, Vector3 vert0, Vector3 vert1, Vector3 vert2, float &t ) : bool
ray Ray
vert0 Vector3
vert1 Vector3
vert2 Vector3
t float
리턴 bool

Split() 공개 정적인 메소드

Splits a triangle by a plane. If no split is possible, then return original triangle.
public static Split ( Plane plane, Vector3 vert0, Vector3 vert1, Vector3 vert2 ) : Vector.Math.Triangle[]
plane Plane
vert0 Vector3
vert1 Vector3
vert2 Vector3
리턴 Vector.Math.Triangle[]

Triangle() 공개 메소드

public Triangle ( Vector3 vert0, Vector3 vert1, Vector3 vert2 ) : System.Runtime.InteropServices
vert0 Vector3
vert1 Vector3
vert2 Vector3
리턴 System.Runtime.InteropServices

프로퍼티 상세

vert0 공개적으로 프로퍼티

public Vector3 vert0
리턴 Vector3

vert1 공개적으로 프로퍼티

public Vector3 vert1
리턴 Vector3

vert2 공개적으로 프로퍼티

public Vector3 vert2
리턴 Vector3