org.osm2world.core.map_elevation.creation
public static class DelaunayTriangulation.DelaunayTriangle extends Object implements IntersectionTestObject
Constructor and Description |
---|
DelaunayTriangulation.DelaunayTriangle(VectorXYZ p0,
VectorXYZ p1,
VectorXYZ p2) |
Modifier and Type | Method and Description |
---|---|
double |
angleAt(int pointIndex) |
double |
angleOppositeOf(DelaunayTriangulation.DelaunayTriangle neighbor) |
TriangleXYZ |
asTriangleXYZ() |
TriangleXZ |
asTriangleXZ() |
AxisAlignedBoundingBoxXZ |
getAxisAlignedBoundingBoxXZ() |
VectorXZ |
getCircumcircleCenter() |
DelaunayTriangulation.DelaunayTriangle |
getLeftNeighbor(VectorXYZ atPoint) |
DelaunayTriangulation.DelaunayTriangle |
getNeighbor(int i) |
VectorXYZ |
getPoint(int i) |
DelaunayTriangulation.DelaunayTriangle |
getRightNeighbor(VectorXYZ atPoint) |
int |
indexOfNeighbor(DelaunayTriangulation.DelaunayTriangle neighbor) |
int |
indexOfPoint(VectorXYZ point) |
void |
replaceNeighbor(DelaunayTriangulation.DelaunayTriangle oldNeighbor,
DelaunayTriangulation.DelaunayTriangle newNeighbor) |
void |
setNeighbor(int i,
DelaunayTriangulation.DelaunayTriangle neighbor) |
String |
toString() |
public VectorXYZ getPoint(int i)
public DelaunayTriangulation.DelaunayTriangle getNeighbor(int i)
public DelaunayTriangulation.DelaunayTriangle getLeftNeighbor(VectorXYZ atPoint)
public DelaunayTriangulation.DelaunayTriangle getRightNeighbor(VectorXYZ atPoint)
public void setNeighbor(int i, DelaunayTriangulation.DelaunayTriangle neighbor)
public int indexOfPoint(VectorXYZ point)
public int indexOfNeighbor(DelaunayTriangulation.DelaunayTriangle neighbor)
public void replaceNeighbor(DelaunayTriangulation.DelaunayTriangle oldNeighbor, DelaunayTriangulation.DelaunayTriangle newNeighbor)
public double angleAt(int pointIndex)
public double angleOppositeOf(DelaunayTriangulation.DelaunayTriangle neighbor)
public VectorXZ getCircumcircleCenter()
public TriangleXZ asTriangleXZ()
public TriangleXYZ asTriangleXYZ()
public AxisAlignedBoundingBoxXZ getAxisAlignedBoundingBoxXZ()
getAxisAlignedBoundingBoxXZ
in interface IntersectionTestObject
public String toString()
toString
in class Object