C# Класс IrrlichtNETCP.Triangle3D

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

Открытые свойства

Свойство Тип Описание
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