de.jreality.tutorial.util.polygon
Class SubdividerDemo
java.lang.Object
de.jreality.tutorial.util.polygon.SubdividerDemo
public class SubdividerDemo
- extends Object
Method Summary |
static double[][] |
circle(int n,
double r)
Create a sequence of points, on a circle in the xy-plane. |
static void |
main(String[] args)
|
SubdividerDemo
public SubdividerDemo()
circle
public static double[][] circle(int n,
double r)
- Create a sequence of points, on a circle in the xy-plane.
- Parameters:
n
- number of pointsr
- the radius
- Returns:
- the points
main
public static void main(String[] args)