Shapepublic 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, waitapplyTranslationRotation, D, getEmbeddedSpace, getPosition, getVertexCount, getVertices, setPositionpublic Point(Space embeddedSpace)
public void updateVertices()
updateVertices in class Polytopepublic LineSegment[] getEdges()
public double getVolume()
public boolean contains(Vector v)