Class ConvexHull
java.lang.Object
jaba.Hull.Surface
jaba.Hull.DSurface
jaba.Hull.ConvexHull
A class representing the convex hull of a set of points.
- Version:
- - 1.1
- Author:
- - Chris Pudney
cpudney@alphapharm.pharm.uwa.edu.au
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a convex hull initialised to a null surface.ConvexHull(Vector<Vertex> vertices) Constructs the convex hull of a set of vertices. -
Method Summary
Modifier and TypeMethodDescriptioninterSetFaces(Vector s1, Vector s2) Determine the hull faces that have vertices in each of two setsMethods inherited from class DSurface
addFace, addFaces, deleteFace
-
Constructor Details
-
ConvexHull
public ConvexHull()Constructs a convex hull initialised to a null surface. -
ConvexHull
Constructs the convex hull of a set of vertices.- Parameters:
vertices- the set of vertices- Throws:
ConvexHullException- if hull construction fails
-
-
Method Details
-
interSetFaces
-