All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

addFace(Polygon). Method in class DSurface
Add a polygonal face to a surface.
addFaces(Vector). Method in class DSurface
Add a set of polygonal faces to a surface.

B

bounds(Vertex, Vertex, Vertex). Static method in class Vertex
Returns the pair of vertices that bound three collinear vertices.

C

collinear(Vertex, Vertex, Vertex). Static method in class Vertex
Tests whether three vertices are collinear.
ConvexHull(). Constructor for class ConvexHull
Constructs a convex hull initialised to a null surface.
ConvexHull(Vector). Constructor for class ConvexHull
Constructs the convex hull of a set of vertices.
ConvexHullException(). Constructor for class ConvexHullException
Construct a convex hull exception.
ConvexHullException(String). Constructor for class ConvexHullException
Construct a convex hull exception with a message.
crossProduct(Vertex, Vertex). Static method in class Vertex
Returns the cross product of two vectors

D

deleteFace(Polygon). Method in class DSurface
Delete a polygonal face from a surface.
distanceSquared(Vertex, Vertex). Static method in class Vertex
Returns the square of the distance between two vertices.
dotProduct(Vertex, Vertex). Static method in class Vertex
Returns the dot product of two vectors
DSurface(). Constructor for class DSurface

E

Edge(Vertex, Vertex). Constructor for class Edge
Construct an edge using two vertices.
edgeNeighbour(Vector, Vertex, Vertex). Method in class Triangle
Returns the triangle that shares a particular edge.

G

getCoords(). Method in class Vertex
Get the coordinates of the vertex.
getFaces(). Method in class Surface
Get the faces of a surfaces.
getVertices(). Method in class Edge
Returns the pair of end-point vertices of an edge.
getVertices(). Method in class Polygon
Get the vertices of a polygon.
getVertices(). Method in class Surface
Get the vertices of a surface.

H

Hull(). Constructor for class Hull

I

interSetFaces(Vector, Vector). Method in class ConvexHull
Determine the hull faces that have vertices in each of two sets

M

main(String[]). Static method in class Hull
The main program that reads a file containing a list of 3D points, constructs their convex hull, and writes it to a file in the OFF format.
matches(Vector). Method in class Triangle
Tests whether a triangle is present in a vector.
matchIndex(Vector). Method in class Triangle
Returns the index of a triangle in a vector.

N

nextVertex(Vertex). Method in class Polygon
Returns the next vertex of a polygon
normSq(). Method in class Vertex
Returns the square of the norm of a vector

P

Polygon(). Constructor for class Polygon
Construct a polygon with no vertices.
Polygon(Vector). Constructor for class Polygon
Construct a polygon given a list of vertices.

R

reverse(). Method in class Polygon
Reverse the order of the vertices that define a contour

S

sameEdge(Edge, Edge). Static method in class Edge
Check whether two edges are the same.
sameTriangle(Triangle, Triangle). Static method in class Triangle
Tests whether two triangles are the same.
sameVertex(Vertex, Vertex). Static method in class Vertex
Tests whether two vertices are the same point.
setFaces(Vector). Method in class Surface
Set the faces of a surfaces.
Surface(). Constructor for class Surface
Construct a surface containing no faces.
Surface(Vector). Constructor for class Surface
Construct a surface given a list of faces.

T

thirdVertex(Vertex, Vertex). Method in class Triangle
Returns the third vertex of a triangle given the other two.
toString(). Method in class Edge
Produce a string describing an edge.
toString(). Method in class Polygon
Returns a string describing a polygon.
toString(). Method in class Surface
Returns a string describing a surface.
toString(). Method in class Vertex
Returns a string that describes a vertex.
Triangle(Vertex, Vertex, Vertex). Constructor for class Triangle
Construct a triangle given three vertices.

V

vectorDiff(Vertex, Vertex). Static method in class Vertex
Returns the vector difference between two vertices
Vertex(). Constructor for class Vertex
Construct the vertex at (0, 0, 0).
Vertex(int, int, int). Constructor for class Vertex
Construct a vertex given a set of coordinates.
volume6(Vertex). Method in class Triangle
Returns six times the volume of the tetrahedron formed by a triangle and vertex.
volumeSign(Vertex). Method in class Triangle
Returns the sign of the volume of the tetrahedron formed by a triangle and a vertex.

W

writeOFF(PrintWriter). Method in class Surface
Write an OFF file that describes a surface.