A B C D E F G H I L M N O P R S T V X

A

addComponent(String, PolyTree) - Method in class vclip.PolyTree
Adds a component to this PolyTree.
addComponent(String, PolyTree, Matrix4d) - Method in class vclip.PolyTree
Adds a component to this PolyTree.
addVertex(double, double, boolean) - Method in class vclip.ConvexPolygon
 
area() - Method in class vclip.ConvexPolygon
 

B

beginDef() - Method in class vclip.ConvexPolygon
 
buildAllBoundingHulls(int) - Method in class vclip.PolyTree
Recursively builds a bounding hull of a prescribed type for this PolyTree and every compound component PolyTree in the hierarchy.
buildBoundingHull() - Method in class vclip.PolyTree
Builds a bounding hull for this PolyTree, using the default bounding hull type.
buildBoundingHull(int) - Method in class vclip.PolyTree
Builds a bounding hull of a prescribed type for this PolyTree.

C

CONVEX_HULL - Static variable in class vclip.PolyTree
Bounding hull is a convex hull.
CUSTOM_HULL - Static variable in class vclip.PolyTree
Bounding hull is a custom polyhedron, specified with setPolyhedron.
ClosestFeaturesHT - class vclip.ClosestFeaturesHT.
Implements a hash table for use by vclip to store the most recent closest features between pairs of PolyTrees.
ClosestFeaturesHT() - Constructor for class vclip.ClosestFeaturesHT
Creates a ClosestFeaturesHT with a default size.
ClosestFeaturesHT(int) - Constructor for class vclip.ClosestFeaturesHT
Creates a ClosestFeaturesHT with a user-supplied size.
ClosestPointPair - class vclip.ClosestPointPair.
Describes a pair of closest points and features between two polyhedra or polytrees.
ClosestPointPair() - Constructor for class vclip.ClosestPointPair
Creates a ClosestPointPair and initializes it as being empty.
ClosestPointPair(ClosestPointPair) - Constructor for class vclip.ClosestPointPair
Creates a ClosestPointPair which is a copy of an existing one.
ConvexPolygon - class vclip.ConvexPolygon.
A 2d convex polygon used by Vclip is handling face-face contact.
ConvexPolygon() - Constructor for class vclip.ConvexPolygon
 
ConvexPolygon(double[]) - Constructor for class vclip.ConvexPolygon
 
ConvexPolyhedron - class vclip.ConvexPolyhedron.
A convex polyhedron.
ConvexPolyhedron() - Constructor for class vclip.ConvexPolyhedron
Creates an empty ConvexPolyhedron, which should then be initialized (such as with a call to scan).
ConvexPolyhedron(Point3d[], int[][]) - Constructor for class vclip.ConvexPolyhedron
Constructs a polyhedron given a list of vertices and a list of face indices.
ConvexPolyhedron(double[], int[][]) - Constructor for class vclip.ConvexPolyhedron
Constructs a polyhedron given a list of vertices and a list of face indices.
ConvexPolyhedron(Reader, boolean) - Constructor for class vclip.ConvexPolyhedron
Constructs a ConvexPolyhedron by reading information from the supplied reader.
ConvexPolyhedron(StreamTokenizer, boolean) - Constructor for class vclip.ConvexPolyhedron
Constructs a ConvexPolyhedron by reading information from a StreamTokenizer.
centerOfMass(Vector3d) - Method in class vclip.PolyTree
Returns the center of mass of this PolyTree's polyhedron (assuming a uniform mass density), with respect to the local frame.
centroid(Point2d) - Method in class vclip.ConvexPolygon
 
clear() - Method in class vclip.ClosestPointPair
Clears the values in this pair.
clear() - Method in class vclip.DistanceReport
Clears the information in this report.
clearComponents() - Method in class vclip.PolyTree
Clear all the components in this PolyTree, and set the bounding hull type to NO_HULL.
consistencyCheck(boolean) - Method in class vclip.ConvexPolygon
 
createBox(double, double, double) - Static method in class vclip.ConvexPolyhedron
 
createBox(String, double, double, double) - Static method in class vclip.PolyTree
 
createCone(double, double, double, int) - Static method in class vclip.ConvexPolyhedron
 
createCone(String, double, double, double, int) - Static method in class vclip.PolyTree
 
createCylinder(double, double, int) - Static method in class vclip.ConvexPolyhedron
 
createCylinder(String, double, double, int) - Static method in class vclip.PolyTree
 
createPrism(double[], double) - Static method in class vclip.ConvexPolyhedron
 
createPrism(double[], double[], double) - Static method in class vclip.ConvexPolyhedron
 
createPrism(String, double[], double[], double) - Static method in class vclip.PolyTree
 
createPrism(String, double[], double) - Static method in class vclip.PolyTree
 
createRoundedCylinder(double, double, int) - Static method in class vclip.ConvexPolyhedron
 
createRoundedCylinder(String, double, double, int) - Static method in class vclip.PolyTree
 
createSphere(double, int) - Static method in class vclip.ConvexPolyhedron
 
createSphere(String, double, int) - Static method in class vclip.PolyTree
 

D

DEFAULT_PROMOTION_TOL - Static variable in class vclip.DistanceReport
 
DEFAULT_SIZE - Static variable in class vclip.ClosestFeaturesHT
Default size of the hash table.
DistanceReport - class vclip.DistanceReport.
Used by vclip to return distance information.
DistanceReport(int) - Constructor for class vclip.DistanceReport
Creates a DistanceReport with room for reporting a maximum number of close point pairs.
DistanceReport() - Constructor for class vclip.DistanceReport
Creates a DistanceReport which does not report close point pairs.
DistanceReport(DistanceReport) - Constructor for class vclip.DistanceReport
Creates a DistanceReport by copying an existing one.
direction() - Method in class vclip.Edge
Gets the direction vector associated with this edge
dist - Variable in class vclip.ClosestPointPair
Distance between the two points
distance(Point3d) - Method in class vclip.Plane
Computes a signed distance from a point to this plane, by taking the dot product of the point and the normal, and adding the plane offset.

E

EDGE - Static variable in class vclip.Feature
Identifier for an edge.
EDGE_WITHIN - Static variable in class vclip.ConvexPolygon
 
Edge - class vclip.Edge.
An edge of a polyhedron.
endDef() - Method in class vclip.ConvexPolygon
 
epsilonEquals(ClosestPointPair, double) - Method in class vclip.ClosestPointPair
Returns true if the contact points for this pair are within epsilon of the contact points of the argument pair.
epsilonEquals(ConvexPolygon, double) - Method in class vclip.ConvexPolygon
 
equals(Feature, Feature) - Method in class vclip.FeaturePair
 

F

FACE - Static variable in class vclip.Feature
Identifier for a face.
Face - class vclip.Face.
A face of a polyhedron.
Face.EdgeIterator - class vclip.Face.EdgeIterator.
 
Face.VertexIterator - class vclip.Face.VertexIterator.
 
Feature - class vclip.Feature.
Base class for the features of a polyhedron.
Feature() - Constructor for class vclip.Feature
 
FeaturePair - class vclip.FeaturePair.
Represents a pair of features.
FeaturePair() - Constructor for class vclip.FeaturePair
 
FeaturePair(Feature, Feature) - Constructor for class vclip.FeaturePair
 
FeaturePair(FeaturePair) - Constructor for class vclip.FeaturePair
 
feat1 - Variable in class vclip.ClosestPointPair
Closest feature on the first polyhedron.
feat2 - Variable in class vclip.ClosestPointPair
Closest feature on the second polyhedron.
featureEquals(ClosestPointPair) - Method in class vclip.ClosestPointPair
Returns true if this pair has the same features as the argument pair.
findFeature(String) - Method in class vclip.ConvexPolyhedron
 
first - Variable in class vclip.FeaturePair
 
firstMomentOfVolume() - Method in class vclip.PolyTree
Returns the first moment of volume for this PolyTree's polyhedron, with respect to the local frame.

G

get(PolyTree, PolyTree) - Method in class vclip.ClosestFeaturesHT
 
getBoundingHullType() - Method in class vclip.PolyTree
Gets the type of this PolyTree's bounding hull.
getClosePairs() - Method in class vclip.DistanceReport
Gets the close point pairs in this report.
getClosestDistance() - Method in class vclip.DistanceReport
Gets the closest distance associated with this report.
getClosestPair() - Method in class vclip.DistanceReport
Gets the closest point pairs in this report.
getComponents() - Method in class vclip.PolyTree
Returns the components associated with this PolyTree.
getCoords() - Method in class vclip.Vertex
Gets the coordinates of this vertex.
getDefaultBoundingHullType() - Static method in class vclip.PolyTree
Returns the default bounding hull type.
getEdge(int, int) - Method in class vclip.ConvexPolyhedron
 
getEdges() - Method in class vclip.ConvexPolyhedron
Returns the edge features for this polyhedron.
getEdges() - Method in class vclip.Face
Gets an iterator which gives the edges of this face in counter-clockwise order.
getFace(int) - Method in class vclip.ConvexPolyhedron
 
getFaces() - Method in class vclip.ConvexPolyhedron
Returns the face features for this polyhedron.
getHead() - Method in class vclip.Edge
Gets the head vertex associated with this edge.
getMaxClosePairs() - Method in class vclip.DistanceReport
Returns the maximum number of close point pairs that can be reported by this report.
getMaxPairDistance() - Method in class vclip.DistanceReport
Gets the maximum close point pair distance for this report.
getName() - Method in class vclip.Feature
Gets the specific name of this feature.
getName() - Method in class vclip.PolyTree
Gets the name of this PolyTree.
getNormal() - Method in class vclip.Plane
Gets the normal of this plane.
getOffset() - Method in class vclip.Plane
Gets the offset of this plane.
getPlane() - Method in class vclip.Face
Gets the plane associated with this face.
getPolyhedron() - Method in class vclip.PolyTree
Returns the polyhedron associated with this PolyTree.
getPromotionTolerance() - Method in class vclip.DistanceReport
Returns the angular tolerance used to promote features.
getTail() - Method in class vclip.Edge
Gets the tail vertex associated with this edge.
getTransform() - Method in class vclip.PolyTree
Returns the transformation from this PolyTree's local frame to its reference frame.
getType() - Method in class vclip.Feature
Gets the type of this feature.
getVert(int) - Method in class vclip.ConvexPolyhedron
 
getVertexIterator() - Method in class vclip.ConvexPolygon
 
getVertices() - Method in class vclip.ConvexPolygon
 
getVertices() - Method in class vclip.Face
Gets an iterator which gives the vertices of this face (each as a Point3d) in counter-clockwise order.
getVerts() - Method in class vclip.ConvexPolyhedron
Returns the vertex features for this polyhedron.

H

hasNext() - Method in class vclip.Face.EdgeIterator
 
hideEdges(int[]) - Method in class vclip.ConvexPolyhedron
 
hideFaces(int[]) - Method in class vclip.ConvexPolyhedron
 
hidePrismFace(int) - Method in class vclip.ConvexPolyhedron
 
hideVerts(int[]) - Method in class vclip.ConvexPolyhedron
 

I

inertiaTensor(Matrix3d) - Method in class vclip.PolyTree
Returns the inertia tensor of this PolyTree's polyhedron assuming a uniform mass density and a mass of 1.
intersect(Line2d) - Method in class vclip.ConvexPolygon
 
intersect(ConvexPolygon, Line2d) - Method in class vclip.ConvexPolygon
 
intersect(ConvexPolygon, ConvexPolygon) - Method in class vclip.ConvexPolygon
 
intersect(ConvexPolygon, boolean) - Method in class vclip.ConvexPolygon
 
intersect(ConvexPolygon) - Method in class vclip.ConvexPolygon
 
intersect(ConvexPolygon, ConvexPolygon, boolean) - Method in class vclip.ConvexPolygon
 
intersectLine(double[], Line2d) - Method in class vclip.ConvexPolygon
 
intersectLine(double[], Line2d, double) - Method in class vclip.ConvexPolygon
 
isAtomic() - Method in class vclip.PolyTree
Returns true if this PolyTree is atomic (i.e., is represented by only one polyhedron, and has no subcomponents).
isClear() - Method in class vclip.ClosestPointPair
Returns true if this pair has no set value.
isCompound() - Method in class vclip.PolyTree
Returns true if this PolyTree is compound (i.e., is composed of one or more PolyTree subcomponents).
isHidden() - Method in class vclip.Feature
Returns true if this feature is hidden.
isInside(Point2d) - Method in class vclip.ConvexPolygon
 

L

leftFace() - Method in class vclip.Edge
Gets the left face associated with this edge.
length() - Method in class vclip.Edge
Gets the length of this edge.

M

main(String[]) - Static method in class vclip.VclipTest
Runs a set of tests on the vclip package, and prints Passed if all is well.

N

NO_HULL - Static variable in class vclip.PolyTree
There is no bounding hull.
NO_OVERLAP - Static variable in class vclip.ConvexPolygon
 
next() - Method in class vclip.Face.EdgeIterator
 
next() - Method in class vclip.Face.VertexIterator
 
nextEdge() - Method in class vclip.Face.EdgeIterator
 
nextVertex() - Method in class vclip.Face.VertexIterator
 
nrml - Variable in class vclip.ClosestPointPair
Normal (in coordinates of the first polyhedron).
numClosePairs() - Method in class vclip.DistanceReport
Returns the number of close point pairs in this report.
numComponents() - Method in class vclip.PolyTree
Returns the number of PolyTree components which are direct children of this PolyTree.
numFeatures() - Method in class vclip.ConvexPolyhedron
Returns the total number of features (vertices, edges, faces) on this polyhedron.
numLeaves() - Method in class vclip.PolyTree
Returns the total number of atomic PolyTrees located in the hierarchy under this PolyTree.
numNodes() - Method in class vclip.PolyTree
Returns the total number of PolyTrees located in the hierarchy under this PolyTree.
numVertices() - Method in class vclip.ConvexPolygon
 

O

OBB_HULL - Static variable in class vclip.PolyTree
Bounding hull is an oriented-bounding box.
OVERLAP - Static variable in class vclip.ConvexPolygon
 

P

POLY_WITHIN - Static variable in class vclip.ConvexPolygon
 
Plane - class vclip.Plane.
A plane in space.
Plane() - Constructor for class vclip.Plane
Constructs a Plane with zero normal and offset.
Plane(Vector3d, Point3d) - Constructor for class vclip.Plane
Constructs a Plane based on a normal vector and a point.
PolyTree - class vclip.PolyTree.
A hierarchically organized collection of convex polyhedra and the primary class for invoking vclip.
PolyTree(String) - Constructor for class vclip.PolyTree
Creates an empty PolyTree.
PolyTree(String, PolyTree) - Constructor for class vclip.PolyTree
Creates a PolyTree by copying another.
PolyTree(String, ConvexPolyhedron) - Constructor for class vclip.PolyTree
Creates an atomic PolyTree from a convex polyhedron.
PolyTree(String, Map, String) - Constructor for class vclip.PolyTree
Creates a PolyTree by copying one from a PolyTree library.
planeTransform(Matrix4dX, Point3d) - Method in class vclip.Plane
Returns a 4x4 matrix which maps points into a coordinate system with a specified origin and whose x-y plane is parallel to this plane.
pnt1 - Variable in class vclip.ClosestPointPair
Closest point on the first polyhedron.
pnt2 - Variable in class vclip.ClosestPointPair
Closest point on the second polyhedron.
productOfVolume() - Method in class vclip.PolyTree
Returns the product of volume for this PolyTree's polyhedron, with respect to the local frame.
projectionMatrix(Matrix4d) - Method in class vclip.Plane
Returns a 4x4 matrix which projects points onto this plane.
promote(Vector3d, double) - Method in class vclip.Edge
 
promote(Vector3d, double) - Method in class vclip.Feature
 
promote(Vector3d, double) - Method in class vclip.Vertex
 
promotionEnabled() - Method in class vclip.DistanceReport
Queries whether or not feature promotion is enabled.
put(PolyTree, PolyTree, FeaturePair) - Method in class vclip.ClosestFeaturesHT
 

R

radius() - Method in class vclip.PolyTree
Returns the ``radius'' of the PolyTree, relative to the center of volume.
remove() - Method in class vclip.Face.EdgeIterator
 
rightFace() - Method in class vclip.Edge
Gets the right face associated with this edge.

S

scan(StreamTokenizer) - Method in class vclip.ConvexPolygon
 
scan(StreamTokenizer) - Method in class vclip.ConvexPolyhedron
Sets the polyhedron using information obtained from a StreamTokenizer.
scan(Reader) - Method in class vclip.ConvexPolyhedron
Sets the polyhedron using information obtained from a reader.
scan(Reader, Map, boolean, boolean) - Method in class vclip.PolyTree
Reads in a PolyTree from a Reader.
scan(StreamTokenizer, Map, boolean, boolean) - Method in class vclip.PolyTree
Reads in a PolyTree from a StreamTokenizer.
scanLibrary(String, Map, boolean) - Static method in class vclip.PolyTree
Reads a library of PolyTrees from a file.
scanLibrary(StreamTokenizer, Map, boolean) - Static method in class vclip.PolyTree
Reads a library of PolyTrees from a StreamTokenizer.
scanNamedFormat(Reader) - Method in class vclip.ConvexPolyhedron
Sets the polyhedron using information obtained from a reader.
scanNamedFormat(StreamTokenizer) - Method in class vclip.ConvexPolyhedron
Sets the polyhedron using information obtained from a StreamTokenizer.
second - Variable in class vclip.FeaturePair
 
secondMomentOfVolume() - Method in class vclip.PolyTree
Returns the second moment of volume for this PolyTree's polyhedron, with respect to the local frame.
set(ClosestPointPair) - Method in class vclip.ClosestPointPair
Sets this pair to the value of another one.
set(double[]) - Method in class vclip.ConvexPolygon
 
set(ConvexPolygon) - Method in class vclip.ConvexPolygon
 
set(Point3d[], int[][]) - Method in class vclip.ConvexPolyhedron
Sets this polyhedron given a list of vertices and a list of face indices.
set(double[], int[][]) - Method in class vclip.ConvexPolyhedron
Sets this polyhedron given a list of vertices and a list of face indices.
set(DistanceReport) - Method in class vclip.DistanceReport
Sets this distance report to a copy of the supplied one.
set(Feature, Feature) - Method in class vclip.FeaturePair
 
set(FeaturePair) - Method in class vclip.FeaturePair
 
set(Vector3d, Point3d) - Method in class vclip.Plane
Sets this plane based on a normal vector and a point.
set(Vector3d, double) - Method in class vclip.Plane
Sets this plane based on a normal vector and an offset.
set(PolyTree) - Method in class vclip.PolyTree
Sets this PolyTree to a copy of another PolyTree.
setCoords(Point3d) - Method in class vclip.Vertex
Sets the coordinates of this vertex.
setDefaultBoundingHullType(int) - Static method in class vclip.PolyTree
Sets the default bounding hull type, which will be used when the bounding hull is created automatically (such as when a PolyTree is created using scan).
setFeaturePromotion(boolean, double) - Method in class vclip.DistanceReport
Enables or disables feature promotion.
setFeatures(Feature, Feature) - Method in class vclip.ClosestPointPair
Sets the closest features.
setHidden(boolean) - Method in class vclip.Feature
Sets whether or not this feature is hidden.
setMaxClosePairs(int) - Method in class vclip.DistanceReport
Sets the maximum number of close point pairs that can be reported by this report.
setMaxPairDistance(double) - Method in class vclip.DistanceReport
Sets the maximum close point pair distance for this report.
setName(String) - Method in class vclip.PolyTree
Sets the name for this PolyTree.
setPolyhedron(ConvexPolyhedron) - Method in class vclip.PolyTree
Sets the convex polyhedron associated with the PolyTree.
setTransform(Matrix4d) - Method in class vclip.PolyTree
Sets the local-to-reference frame transform of this PolyTree.
sprintf() - Method in class vclip.ConvexPolygon
 
sprintf() - Method in class vclip.ConvexPolyhedron
Outputs a string representation of this polyhedron, using the format used by scan(Reader).
sprintfNamedFormat() - Method in class vclip.ConvexPolyhedron
Outputs a string representation of this polyhedron, using the format used by scanNamedFormat(Reader).

T

toString() - Method in class vclip.ConvexPolygon
 
toString() - Method in class vclip.ConvexPolyhedron
Generates a string representation of this polyhedron, using sprintfNamedFormat().
toString() - Method in class vclip.Edge
Produces a string representation of this edge.
toString() - Method in class vclip.Face
Produces a string representation of this face.
toString() - Method in class vclip.FeaturePair
 
toString() - Method in class vclip.Plane
Returns a string representation of this plane.
toString() - Method in class vclip.PolyTree
Returns a string representation of this PolyTree.
toString() - Method in class vclip.Vertex
Produces a string representation of this vertex.
transformFirstPoints(Matrix4d) - Method in class vclip.DistanceReport
Transforms the first point, as well as the normals, of each point pair in this distance report into a new coordinate frame (typically that associated with the second points).
transformSecondPoints(Matrix4d) - Method in class vclip.DistanceReport
Transforms the second point of each point pair in this distance report into a new coordinate frame (typically that associated with the first points).
typeName() - Method in class vclip.Feature
Gets the name of the type of this feature (either vertex, edge, face).

V

VERTEX - Static variable in class vclip.Feature
Identifier for a vertex.
VclipTest - class vclip.VclipTest.
Test class for the vclip package.
Vertex - class vclip.Vertex.
A vertex of a polyhedron.
Vertex(String, Point3d) - Constructor for class vclip.Vertex
Constructs a Vertex with a given name and coordinates.
Vertex(String, double, double, double) - Constructor for class vclip.Vertex
Constructs a Vertex with a given name and coordinate values.
vclip - package vclip
Vclip is a package for computing distances and checking for collisions between polyhedra.
vclip(ClosestPointPair, ConvexPolyhedron, Matrix4d, Matrix4d) - Method in class vclip.ConvexPolyhedron
Computes the distance, along with the closest points and features, between this polyhedron and a second one.
vclip(DistanceReport, PolyTree, Matrix4d, double, ClosestFeaturesHT) - Method in class vclip.PolyTree
 
vclip(DistanceReport, PolyTree, Matrix4d, double, ClosestFeaturesHT, FeaturePair) - Method in class vclip.PolyTree
Computes the distance between this PolyTree and a second PolyTree.
volume() - Method in class vclip.PolyTree
Returns the volume of this PolyTree's polyhedron.

X

xform(ConvexPolygon, double, double, double) - Method in class vclip.ConvexPolygon
 

A B C D E F G H I L M N O P R S T V X