logo
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.
© 1997-2017 Last modified: 22.06.2017 --- www.javaview.de --- The JavaView Project