public class BitGeneratorMapDefault extends BitGeneratorMap
Map scanner for mercator and cylindrical projections.
© 2002 Christian Treber, [email protected]
PixTypeGridLand, PixTypeGridWater, PixTypeLand, PixTypeSpace, PixTypeStar, PixTypeWater
fScanBitsArray
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?!
|
addEdgeXing, generateScanBits, setMapData
getScanBits, setImageHeight, setImageWidth
public BitGeneratorMapDefault(Projection pProjection)
protected Comparator getEdgeXingComparator()
getEdgeXingComparator
in class BitGeneratorMap
protected com.ctreber.acearth.scanbit.ScanBuf scanOutline()
scanOutline
in class BitGeneratorMap
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?
scanPolygon
in class BitGeneratorMap
protected void handleCrossings(com.ctreber.acearth.scanbit.ScanBuf pScanBuf, EdgeCrossing[] xings)
Side effect: Creates ScanBuf lines.
handleCrossings
in class BitGeneratorMap
Copyright © 2016. All Rights Reserved.