C# 클래스 tools.Math3DHelper.DoublePoint

Helper struct for isectboxtri. Like Vector3, but stores doubles instead of floats.
파일 보기 프로젝트 열기: denniskb/asvo_cuda

공개 프로퍼티들

프로퍼티 타입 설명
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