Class Surface
java.lang.Object
jaba.Hull.Surface
- Direct Known Subclasses:
DSurface
A class representing a surface.
- Version:
- 1.1
- Author:
- Chris Pudney
cpudney@alphapharm.pharm.uwa.edu.au
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFaces()Get the faces of a surfaces.Get the vertices of a surface.voidSet the faces of a surfaces.toString()Returns a string describing a surface.voidwriteOFF(PrintWriter pw) Write an OFF file that describes a surface.
-
Constructor Details
-
Surface
public Surface()Construct a surface containing no faces. -
Surface
-
-
Method Details
-
getFaces
-
setFaces
-
getVertices
-
writeOFF
Write an OFF file that describes a surface. OFF files can be viewed using Geomview http://www.geom.umn.edu/software/download/geomview.html- Parameters:
pw- A PrintWriter for the file- Throws:
IOException- if the operation cannot be completed
-
toString
-