Package org.apache.lucene.geo
Class Tessellator.Triangle
- java.lang.Object
-
- org.apache.lucene.geo.Tessellator.Triangle
-
- Enclosing class:
- Tessellator
public static final class Tessellator.Triangle extends Object
Triangle in the tessellated mesh
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEncodedX(int vertex)
get quantized x value for the given vertexint
getEncodedY(int vertex)
get quantized y value for the given vertexdouble
getX(int vertex)
get x value for the given vertexdouble
getY(int vertex)
get y value for the given vertexboolean
isEdgefromPolygon(int startVertex)
get if edge is shared with the polygon for the given edgeString
toString()
pretty print the triangle vertices
-
-
-
Method Detail
-
getEncodedX
public int getEncodedX(int vertex)
get quantized x value for the given vertex
-
getEncodedY
public int getEncodedY(int vertex)
get quantized y value for the given vertex
-
getY
public double getY(int vertex)
get y value for the given vertex
-
getX
public double getX(int vertex)
get x value for the given vertex
-
isEdgefromPolygon
public boolean isEdgefromPolygon(int startVertex)
get if edge is shared with the polygon for the given edge
-
-