Shape
public class Point extends Polytope
D, embeddedSpace, hyperPlanes, position, vertices
Constructor | Description |
---|---|
Point(Space embeddedSpace) |
|
Point(Space embeddedSpace,
Vector vectorRandom) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
contains(Vector v) |
Returns true if this point is at exactly the same location as the point
defined by the given vector.
|
LineSegment[] |
getEdges() |
|
double |
getVolume() |
Returns zero.
|
java.lang.String |
toString() |
|
void |
updateVertices() |
Does nothing; the point is the vertex.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
applyTranslationRotation, D, getEmbeddedSpace, getPosition, getVertexCount, getVertices, setPosition
public Point(Space embeddedSpace)
public void updateVertices()
updateVertices
in class Polytope
public LineSegment[] getEdges()
public double getVolume()
public boolean contains(Vector v)