de.jreality.tutorial.util.polygon
Class SubdividerDemo

java.lang.Object
  extended by de.jreality.tutorial.util.polygon.SubdividerDemo

public class SubdividerDemo
extends java.lang.Object


Constructor Summary
SubdividerDemo()
           
 
Method Summary
static double[][] circle(int n, double r)
          Create a sequence of points, on a circle in the xy-plane.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubdividerDemo

public SubdividerDemo()
Method Detail

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 points
r - the radius
Returns:
the points

main

public static void main(java.lang.String[] args)