public class ClippingTessellator extends Object
Modifier and Type | Field and Description |
---|---|
protected double[] |
clipDegrees |
protected int |
prevClipCode |
protected double[] |
prevCoord |
protected GLUtessellator |
tessellator |
Constructor and Description |
---|
ClippingTessellator(GLUtessellator tessellator,
Sector sector) |
Modifier and Type | Method and Description |
---|---|
void |
addVertex(double degreesLatitude,
double degreesLongitude) |
void |
beginContour() |
protected int |
clipCode(double degreesLatitude,
double degreesLongitude)
Computes a 4-bit code indicating the vertex's location in the 9 cell grid defined by the clip coordinates and the
eight adjacent spaces defined by extending the min/max boundaries to infinity.
|
protected void |
doAddVertex(double degreesLatitude,
double degreesLongitude) |
void |
endContour() |
protected double[] clipDegrees
protected int prevClipCode
protected double[] prevCoord
protected GLUtessellator tessellator
public ClippingTessellator(GLUtessellator tessellator, Sector sector)
public void addVertex(double degreesLatitude, double degreesLongitude)
public void beginContour()
protected int clipCode(double degreesLatitude, double degreesLongitude)
protected void doAddVertex(double degreesLatitude, double degreesLongitude)
public void endContour()