Class Point3
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.BallPivoting.Point3
-
public class Point3 extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Point3
add(Point3 b)
Point3
add_into(Point3 b)
Point3
assign(Point3 b)
Point3
cross(Point3 p)
Point3
div(float v)
Point3
div_into(float v)
float
dot(Point3 p)
boolean
equals(Point3 b)
float
get(int index)
boolean
greaterEqualThan(Point3 p)
boolean
greaterThan(Point3 p)
boolean
lessEqualThan(Point3 p)
boolean
lessThan(Point3 p)
Point3
mul(float s)
Point3
mul_into(float s)
Point3
negate()
float
norm()
Point3
normalize()
boolean
notequals(Point3 b)
void
print()
Point3
scale(float sx, float sy, float sz)
Point3
scale(Point3 p)
float
squaredNorm()
Point3
sub(Point3 b)
Point3
sub_into(Point3 b)
Point3
V()
float
X()
float
Y()
float
Z()
void
zero()
-
-
-
Constructor Detail
-
Point3
public Point3()
-
Point3
public Point3(float nx, float ny, float nz)
-
Point3
public Point3(Point3 p)
-
Point3
public Point3(float[] nv)
-
-
Method Detail
-
print
public final void print()
-
zero
public final void zero()
-
get
public final float get(int index)
-
X
public final float X()
-
Y
public final float Y()
-
Z
public final float Z()
-
V
public final Point3 V()
-
mul
public final Point3 mul(float s)
-
div
public final Point3 div(float v)
-
dot
public final float dot(Point3 p)
-
mul_into
public Point3 mul_into(float s)
-
div_into
public final Point3 div_into(float v)
-
norm
public final float norm()
-
squaredNorm
public final float squaredNorm()
-
scale
public final Point3 scale(float sx, float sy, float sz)
-
normalize
public final Point3 normalize()
-
equals
public final boolean equals(Point3 b)
-
notequals
public final boolean notequals(Point3 b)
-
lessThan
public final boolean lessThan(Point3 p)
-
greaterThan
public final boolean greaterThan(Point3 p)
-
lessEqualThan
public final boolean lessEqualThan(Point3 p)
-
greaterEqualThan
public final boolean greaterEqualThan(Point3 p)
-
negate
public final Point3 negate()
-
-