The ShapeTools library is a collection of Java classes that enable Java programmers to model and manipulate geometric shapes and associated data values. It simplifies the creation of application programs by providing a ready-made set of support routines.
Features
Description
The ShapeTools library is a collection of Java classes which enable Java programmers to model and manipulate geometric shapes and associated data values. Its purpose is to simplify the process of creating application programs by providing a ready-made set of support routines.
Application programs typically devote a substantial amount of programming effort to \'support\' functions not directly related to the purpose of the application. These functions include the definition of an internal data model, reading and writing data files - often in various formats, checks for data model consistency, and so on. The ShapeTools library aims to provide many of these needed functions to the application programmer, thereby freeing them to concentrate on what is unique to the tool being created.
System Requirements
Java
Installation
CompilationPortable Java library jar makes library compilation unnecessary.
Installation InstructionsCopy java libary \'jar\' file to local disk. Add this jar file to your java program class path.
Example: javac -classpath .:ShapeTools.jar YourJavaClass.java
Purpose
The ShapeTools library provides a large number of support functions to a Java geometry tool application programmer. The data model is both simple and robust (points, edges and faces) and will model any shape of topological genus 0.
The implementation of the various portions of the data model may be easily extended to allow special purpose, high performance versions of the more generic data model elements.
Extensive documention is provided. Every method of every public class is described. Special cases and assumptions are noted. Many examples of application programs - ranging from trivial examples to complete production-ready code - are provided. User guides for areas of particular interest (i.e. LONI Ucf Files) are available.
Several file formats are supported; as more are added to the core library, applications built on ShapeTools gain access to these file formats without requiring the application programmers to rewrite their applications.
ShapeDistance will run on any computer that supports Java v1.4.1 (or greater).