Up ] First Applet ] First Application ] First Project ] Models ] Loader ] Keyframe ] Linear ] Torus Knot ] Pick Events ] Camera Events ] Color Selector ] Slider ] Ruler ] Vector Field ] [ Polygon Sets ] Scalar Field ] Ode ] Root Finder ] ParmSurface ] L-System ] Texture ] Refinement ] Images ] Transform ]

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.