j3d.polyViewer.vec3
Class RandomPoints
java.lang.Object
j3d.polyViewer.vec3.RandomPoints
- All Implemented Interfaces:
- Vec3FunctionInterface
public class RandomPoints
- extends java.lang.Object
- implements Vec3FunctionInterface
Field Summary |
static double |
pi
|
static double |
sqrt_2
|
static double |
twoPi
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
sqrt_2
public static final double sqrt_2
pi
public static final double pi
- See Also:
- Constant Field Values
twoPi
public static final double twoPi
- See Also:
- Constant Field Values
RandomPoints
public RandomPoints()
getRandom
public int getRandom()
getRandomPoint
public java.awt.Point getRandomPoint()
getRangePoints
public Points getRangePoints()
getRangePoints
public Points getRangePoints(double theta)
showMouseInputCavas
public void showMouseInputCavas()
getPolarVec3
public Vec3 getPolarVec3(double r1,
double theta1,
double r2,
double theta2)
- Specified by:
getPolarVec3
in interface Vec3FunctionInterface
sin
public static final double sin(double theta)
cos
public static final double cos(double theta)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object