C# Class tools.Math3DHelper.DoublePoint

Helper struct for isectboxtri. Like Vector3, but stores doubles instead of floats.
Afficher le fichier Open project: denniskb/asvo_cuda

Méthodes publiques

Свойство Type Description
UnitX DoublePoint
UnitY DoublePoint
UnitZ DoublePoint
x double
y double
z double

Méthodes publiques

Méthode Description
Cross ( DoublePoint p ) : DoublePoint

Computes the cross product between this DoublePoint and p.

Dot ( DoublePoint p ) : double

Computes the dot product between this DoublePoint and p.

DoublePoint ( double x, double y, double z )

Constructs a new DoublePoint.

Sub ( DoublePoint p ) : DoublePoint

Subtracts another DoublePoint from this point.

Method Details

Cross() public méthode

Computes the cross product between this DoublePoint and p.
public Cross ( DoublePoint p ) : DoublePoint
p DoublePoint The second point.
Résultat DoublePoint

Dot() public méthode

Computes the dot product between this DoublePoint and p.
public Dot ( DoublePoint p ) : double
p DoublePoint The second point.
Résultat double

DoublePoint() public méthode

Constructs a new DoublePoint.
public DoublePoint ( double x, double y, double z )
x double x-coordinate
y double y-coordinate
z double z-coordinate

Sub() public méthode

Subtracts another DoublePoint from this point.
public Sub ( DoublePoint p ) : DoublePoint
p DoublePoint The vector to subtract from this one.
Résultat DoublePoint

Property Details

UnitX public_oe static_oe property

public static DoublePoint UnitX
Résultat DoublePoint

UnitY public_oe static_oe property

public static DoublePoint UnitY
Résultat DoublePoint

UnitZ public_oe static_oe property

public static DoublePoint UnitZ
Résultat DoublePoint

x public_oe property

public double x
Résultat double

y public_oe property

public double y
Résultat double

z public_oe property

public double z
Résultat double