public class VoronoiFace extends BaseVoronoiFace
Edges, FaceArea, FaceCenter, FaceDistance, FaceNormal, FacePlane, InsideAtom, OutsideAtom, Vertices
Constructor and Description |
---|
VoronoiFace(Atom insideAtom,
AtomImage outsideAtom,
boolean radical)
Create a blank Voronoi face
|
Modifier and Type | Method and Description |
---|---|
void |
assembleFromVertices(java.util.List<VoronoiVertex> vertices)
Assemble a face from a list of vertices.
|
boolean |
isClosed()
Test whether the edges form a closed face.
|
compareTo, equals, getArea, getCentroid, getCommonVertices, getEdges, getFaceCenter, getFaceDistance, getInsideAtom, getNeighborDistance, getNeighboringFaces, getNormal, getOutsideAtom, getPlane, getPlaneDistance, getVertexIterator, getVertices, hashCode, NEdges, nVertices, positionRelativeToFace, toString
public void assembleFromVertices(java.util.List<VoronoiVertex> vertices)
vertices
- Vertices for this face, in sequential orderpublic boolean isClosed()
BaseVoronoiFace
isClosed
in class BaseVoronoiFace