org.osm2world.core.math.shapes
public class CircleXZ extends Object implements SimpleClosedShapeXZ
Constructor and Description |
---|
CircleXZ(VectorXZ center,
double radius) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
VectorXZ |
getCenter() |
double |
getRadius() |
Collection<TriangleXZ> |
getTriangulation()
returns a decomposition of the shape into triangles.
|
List<VectorXZ> |
getVertexList()
returns the shape's vertices.
|
List<VectorXZ> |
getVertexList(int numPoints) |
int |
hashCode() |
String |
toString() |
public CircleXZ(VectorXZ center, double radius)
public VectorXZ getCenter()
public double getRadius()
public List<VectorXZ> getVertexList(int numPoints)
public List<VectorXZ> getVertexList()
ShapeXZ
getVertexList
in interface ShapeXZ
public Collection<TriangleXZ> getTriangulation()
SimpleClosedShapeXZ
getTriangulation
in interface SimpleClosedShapeXZ
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object