public class BitGeneratorMapDefault extends BitGeneratorMap
Map scanner for mercator and cylindrical projections.
© 2002 Christian Treber, ct@ctreber.com
PixTypeGridLand, PixTypeGridWater, PixTypeLand, PixTypeSpace, PixTypeStar, PixTypeWaterfScanBitsArray| Constructor and Description |
|---|
BitGeneratorMapDefault(Projection pProjection) |
| Modifier and Type | Method and Description |
|---|---|
protected Comparator |
getEdgeXingComparator() |
protected void |
handleCrossings(com.ctreber.acearth.scanbit.ScanBuf pScanBuf,
EdgeCrossing[] xings)
Side effect: Creates ScanBuf lines.
|
protected com.ctreber.acearth.scanbit.ScanBuf |
scanOutline()
Seems to: walk along outline of projected area.
|
protected void |
scanPolygon(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, setMapDatagetScanBits, setImageHeight, setImageWidthpublic BitGeneratorMapDefault(Projection pProjection)
protected Comparator getEdgeXingComparator()
getEdgeXingComparator in class BitGeneratorMapprotected com.ctreber.acearth.scanbit.ScanBuf scanOutline()
scanOutline in class BitGeneratorMapprotected void scanPolygon(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 BitGeneratorMapprotected void handleCrossings(com.ctreber.acearth.scanbit.ScanBuf pScanBuf,
EdgeCrossing[] xings)
Side effect: Creates ScanBuf lines.
handleCrossings in class BitGeneratorMapCopyright © 2017. All rights reserved.