public class BitGeneratorMapDefault extends BitGeneratorMap
Map scanner for mercator and cylindrical projections.
© 2002 Christian Treber, ct@ctreber.com
PixTypeGridLand, PixTypeGridWater, PixTypeLand, PixTypeSpace, PixTypeStar, PixTypeWater
fScanBitsArray
Constructor and Description |
---|
BitGeneratorMapDefault(Projection pProjection) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Comparator |
getEdgeXingComparator() |
protected void |
handleCrossings(zext.plantuml.com.ctreber.acearth.scanbit.ScanBuf pScanBuf,
EdgeCrossing[] xings)
Side effect: Creates ScanBuf lines.
|
protected zext.plantuml.com.ctreber.acearth.scanbit.ScanBuf |
scanOutline()
Seems to: walk along outline of projected area.
|
protected void |
scanPolygon(zext.plantuml.com.ctreber.acearth.scanbit.ScanBuf pScanBuf,
Point3D[] pPoints3D,
Point2D[] pPoints2D,
int pIndex)
Look at 2 neighboring points in polygon and find edge crossings -
edge of the globe?! Edge of image?
|
addEdgeXing, generateScanBits, setMapData
getScanBits, setImageHeight, setImageWidth
public BitGeneratorMapDefault(Projection pProjection)
protected java.util.Comparator getEdgeXingComparator()
getEdgeXingComparator
in class BitGeneratorMap
protected zext.plantuml.com.ctreber.acearth.scanbit.ScanBuf scanOutline()
scanOutline
in class BitGeneratorMap
protected void scanPolygon(zext.plantuml.com.ctreber.acearth.scanbit.ScanBuf pScanBuf, Point3D[] pPoints3D, Point2D[] pPoints2D, int pIndex)
Look at 2 neighboring points in polygon and find edge crossings - edge of the globe?! Edge of image?
scanPolygon
in class BitGeneratorMap
protected void handleCrossings(zext.plantuml.com.ctreber.acearth.scanbit.ScanBuf pScanBuf, EdgeCrossing[] xings)
Side effect: Creates ScanBuf lines.
handleCrossings
in class BitGeneratorMap