syn3d.util
Class GeodeMaker
java.lang.Object
syn3d.util.GeodeMaker
public class GeodeMaker
- extends java.lang.Object
This class Generates geodes of any order.
- Author:
- Nicolas Brodu
Method Summary |
static double[] |
combine(double[] p1,
double[] p2,
double angle)
|
static float[] |
createGeode(int ndiv)
|
static double |
sproduct(double[] p1,
double[] p2)
|
static double[] |
vproduct(double[] p1,
double[] p2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
golden_ratio
public static double golden_ratio
norm
public static double norm
icosaedron_vertices
public static double[] icosaedron_vertices
icosaedron_triangles_index
public static int[] icosaedron_triangles_index
GeodeMaker
public GeodeMaker()
vproduct
public static double[] vproduct(double[] p1,
double[] p2)
sproduct
public static double sproduct(double[] p1,
double[] p2)
combine
public static double[] combine(double[] p1,
double[] p2,
double angle)
createGeode
public static float[] createGeode(int ndiv)