Overview  First Applet  First Application   First Graph  First Project  Models  Loader  Keyframe  Linear Alg  Torus Knot  Picking  Camera Events  Color Selector  Slider  Ruler  Vector Field  Polygon Sets  Scalar Field   ODE  Root Finder  Parm Curve  Parm Surface  L-System  Texture  Refinement  4D Transform  Size Vertex  Size Polygon  Size Edge 

Tutorial on Polygon Sets

There are two classes for polygonal lines in JavaView. PgPolygon contains a single polygonal line implicitly determined by a sequence of vertices. PgPolygonSet contains a number of polygonal lines and a set of vertices. Each line is determines by the list of indices of their vertices. This applet shows a sample instance of PgPolygonSet.

View source code:
PaPolygonSet.java of applet,
PjPolygonSet.java of project.
© 1996-2013 Last modified: 07.05.2013 --- www.javaview.de --- The JavaView Project