JavaView Logo  
Home Demos Applications Tutorial Download Help Feedback

Up ] First Applet ] First Project ] First Graph ] First Application ] Models ] Loader ] Keyframe ] Linear Alg ] Torus Knot ] Picking ] Camera Events ] Slider ] Ruler ] Color Selector ] Vector Field ] [ Polygon Sets ] Scalar Field ] Ode ] Root Finder ] Parm Surface ] L-System ] Texture ] Refinement ] Julia Set ] 4D 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.

© 1999-2005 Last modified: 03.10.2005 --- http://www.javaview.de --- The JavaView Project