C# 클래스 IrrlichtNETCP.Triangle3D

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

공개 프로퍼티들

프로퍼티 타입 설명
PointA IrrlichtNETCP.Vector3D

공개 메소드들

메소드 설명
Equals ( object obj ) : bool
FromUnmanaged ( float un ) : Triangle3D
GetHashCode ( ) : int
GetIntersectionOfPlaneWithLine ( IrrlichtNETCP.Vector3D linePoint, IrrlichtNETCP.Vector3D lineVect, IrrlichtNETCP.Vector3D &intersection ) : bool

Calculates the intersection between a 3d line and the plane the triangle is on.

GetIntersectionWithLimitedLine ( IrrlichtNETCP.Line3D line, IrrlichtNETCP.Vector3D &outIntersection ) : bool

Returns an intersection with a 3d line.

IsOnSameSide ( IrrlichtNETCP.Vector3D p1, IrrlichtNETCP.Vector3D p2, IrrlichtNETCP.Vector3D a, IrrlichtNETCP.Vector3D b ) : bool
ToString ( ) : string
ToUnmanaged ( ) : float[]
Triangle3D ( IrrlichtNETCP.Vector3D A, IrrlichtNETCP.Vector3D B, IrrlichtNETCP.Vector3D C ) : System
Triangle3D ( float AX, float AY, float AZ, float BX, float BY, float BZ, float CX, float CY, float CZ ) : System

비공개 메소드들

메소드 설명
GetIntersectionWithLine ( IrrlichtNETCP.Vector3D linePoint, IrrlichtNETCP.Vector3D lineVect, IrrlichtNETCP.Vector3D &outIntersection ) : bool

Returns an intersection with a 3d line. Please note that also points are returned as intersection, which are on the line, but not between the start and end point of the line. If you want the returned point be between start and end, please use getIntersectionWithLimitedLine().

IsPointInside ( IrrlichtNETCP.Vector3D p ) : bool

메소드 상세

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

FromUnmanaged() 공개 정적인 메소드

public static FromUnmanaged ( float un ) : Triangle3D
un float
리턴 Triangle3D

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetIntersectionOfPlaneWithLine() 공개 메소드

Calculates the intersection between a 3d line and the plane the triangle is on.
public GetIntersectionOfPlaneWithLine ( IrrlichtNETCP.Vector3D linePoint, IrrlichtNETCP.Vector3D lineVect, IrrlichtNETCP.Vector3D &intersection ) : bool
linePoint IrrlichtNETCP.Vector3D Vector of the line to intersect with
lineVect IrrlichtNETCP.Vector3D Point of the line to intersect with.
intersection IrrlichtNETCP.Vector3D Place to store the intersection point, if there is one.
리턴 bool

GetIntersectionWithLimitedLine() 공개 메소드

Returns an intersection with a 3d line.
public GetIntersectionWithLimitedLine ( IrrlichtNETCP.Line3D line, IrrlichtNETCP.Vector3D &outIntersection ) : bool
line IrrlichtNETCP.Line3D Line to intersect with.
outIntersection IrrlichtNETCP.Vector3D Place to store the intersection point, if there is one.
리턴 bool

IsOnSameSide() 공개 메소드

public IsOnSameSide ( IrrlichtNETCP.Vector3D p1, IrrlichtNETCP.Vector3D p2, IrrlichtNETCP.Vector3D a, IrrlichtNETCP.Vector3D b ) : bool
p1 IrrlichtNETCP.Vector3D
p2 IrrlichtNETCP.Vector3D
a IrrlichtNETCP.Vector3D
b IrrlichtNETCP.Vector3D
리턴 bool

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

ToUnmanaged() 공개 메소드

public ToUnmanaged ( ) : float[]
리턴 float[]

Triangle3D() 공개 메소드

public Triangle3D ( IrrlichtNETCP.Vector3D A, IrrlichtNETCP.Vector3D B, IrrlichtNETCP.Vector3D C ) : System
A IrrlichtNETCP.Vector3D
B IrrlichtNETCP.Vector3D
C IrrlichtNETCP.Vector3D
리턴 System

Triangle3D() 공개 메소드

public Triangle3D ( float AX, float AY, float AZ, float BX, float BY, float BZ, float CX, float CY, float CZ ) : System
AX float
AY float
AZ float
BX float
BY float
BZ float
CX float
CY float
CZ float
리턴 System

프로퍼티 상세

PointA 공개적으로 프로퍼티

public Vector3D,IrrlichtNETCP PointA
리턴 IrrlichtNETCP.Vector3D