C# Класс tools.Math3DHelper.DoublePoint

Helper struct for isectboxtri. Like Vector3, but stores doubles instead of floats.
Показать файл Открыть проект

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

Свойство Тип Описание
UnitX DoublePoint
UnitY DoublePoint
UnitZ DoublePoint
x double
y double
z double

Открытые методы

Метод Описание
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.

Описание методов

Cross() публичный Метод

Computes the cross product between this DoublePoint and p.
public Cross ( DoublePoint p ) : DoublePoint
p DoublePoint The second point.
Результат DoublePoint

Dot() публичный Метод

Computes the dot product between this DoublePoint and p.
public Dot ( DoublePoint p ) : double
p DoublePoint The second point.
Результат double

DoublePoint() публичный Метод

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() публичный Метод

Subtracts another DoublePoint from this point.
public Sub ( DoublePoint p ) : DoublePoint
p DoublePoint The vector to subtract from this one.
Результат DoublePoint

Описание свойств

UnitX публичное статическое свойство

public static DoublePoint UnitX
Результат DoublePoint

UnitY публичное статическое свойство

public static DoublePoint UnitY
Результат DoublePoint

UnitZ публичное статическое свойство

public static DoublePoint UnitZ
Результат DoublePoint

x публичное свойство

public double x
Результат double

y публичное свойство

public double y
Результат double

z публичное свойство

public double z
Результат double