C# Class IrrlichtNETCP.Triangle3D

Afficher le fichier Open project: Paulus/irrlichtnetcp Class Usage Examples

Méthodes publiques

Свойство Type Description
PointA IrrlichtNETCP.Vector3D

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

FromUnmanaged() public static méthode

public static FromUnmanaged ( float un ) : Triangle3D
un float
Résultat Triangle3D

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetIntersectionOfPlaneWithLine() public méthode

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.
Résultat bool

GetIntersectionWithLimitedLine() public méthode

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.
Résultat bool

IsOnSameSide() public méthode

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
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string

ToUnmanaged() public méthode

public ToUnmanaged ( ) : float[]
Résultat float[]

Triangle3D() public méthode

public Triangle3D ( IrrlichtNETCP.Vector3D A, IrrlichtNETCP.Vector3D B, IrrlichtNETCP.Vector3D C ) : System
A IrrlichtNETCP.Vector3D
B IrrlichtNETCP.Vector3D
C IrrlichtNETCP.Vector3D
Résultat System

Triangle3D() public méthode

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
Résultat System

Property Details

PointA public_oe property

public Vector3D,IrrlichtNETCP PointA
Résultat IrrlichtNETCP.Vector3D