Class dnx.geom.Point3
All Packages Class Hierarchy This Package Previous Next Index
Class dnx.geom.Point3
java.lang.Object
|
+----dnx.geom.Point3
- public class Point3
- extends Object
- implements Cloneable, Copyable
Points for 3D graphics.
-
x
-
-
y
-
-
z
-
-
Point3()
- Create a vector initialized to zero.
-
Point3(float, float, float)
-
-
Point3(Point3)
- Create a new vector which is a copy of v.
-
Point3(Vector3)
-
-
add(Vector3)
- Add a vector to a point.
-
clear()
-
-
clone()
-
-
copy(Copyable)
-
-
distanceTo(Point3)
- Return the distance to another point
-
equals(Object)
-
-
hashCode()
-
-
setValue(float, float, float)
-
-
subtract(Vector3)
- Subtract a vector from a point.
-
toString()
-
-
transform(Matrix4)
- Multiply the point by the matrix m
-
transform(Matrix4, Point3)
-
x
public float x
y
public float y
z
public float z
Point3
public Point3()
- Create a vector initialized to zero.
Point3
public Point3(float x,
float y,
float z)
Point3
public Point3(Point3 p)
- Create a new vector which is a copy of v.
Point3
public Point3(Vector3 v)
clear
public void clear()
setValue
public void setValue(float x,
float y,
float z)
distanceTo
public float distanceTo(Point3 p)
- Return the distance to another point
add
public final void add(Vector3 v)
- Add a vector to a point.
subtract
public final void subtract(Vector3 v)
- Subtract a vector from a point.
transform
public void transform(Matrix4 m)
- Multiply the point by the matrix m
transform
public void transform(Matrix4 m,
Point3 p)
equals
public boolean equals(Object obj)
- Overrides:
- equals in class Object
hashCode
public int hashCode()
- Overrides:
- hashCode in class Object
copy
public void copy(Copyable c)
clone
public Object clone()
- Overrides:
- clone in class Object
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index