com.ctreber.acearth.scanbit
Class BitGeneratorMapDefault

java.lang.Object
  extended by com.ctreber.acearth.scanbit.ScanBitGenerator
      extended by com.ctreber.acearth.scanbit.BitGeneratorMap
          extended by com.ctreber.acearth.scanbit.BitGeneratorMapDefault

public class BitGeneratorMapDefault
extends BitGeneratorMap

Map scanner for mercator and cylindrical projections.

© 2002 Christian Treber, [email protected]

Author:
Christian Treber, [email protected]

Field Summary
 
Fields inherited from class com.ctreber.acearth.scanbit.BitGeneratorMap
PixTypeGridLand, PixTypeGridWater, PixTypeLand, PixTypeSpace, PixTypeStar, PixTypeWater
 
Fields inherited from class com.ctreber.acearth.scanbit.ScanBitGenerator
fScanBitsArray
 
Constructor Summary
BitGeneratorMapDefault(Projection pProjection)
           
 
Method Summary
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?!
 
Methods inherited from class com.ctreber.acearth.scanbit.BitGeneratorMap
addEdgeXing, generateScanBits, setMapData
 
Methods inherited from class com.ctreber.acearth.scanbit.ScanBitGenerator
getScanBits, setImageHeight, setImageWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitGeneratorMapDefault

public BitGeneratorMapDefault(Projection pProjection)
Method Detail

getEdgeXingComparator

protected Comparator getEdgeXingComparator()
Specified by:
getEdgeXingComparator in class BitGeneratorMap

scanOutline

protected com.ctreber.acearth.scanbit.ScanBuf scanOutline()
Seems to: walk along outline of projected area.

Specified by:
scanOutline in class BitGeneratorMap

scanPolygon

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?

Specified by:
scanPolygon in class BitGeneratorMap

handleCrossings

protected void handleCrossings(com.ctreber.acearth.scanbit.ScanBuf pScanBuf,
                               EdgeCrossing[] xings)

Side effect: Creates ScanBuf lines.

Specified by:
handleCrossings in class BitGeneratorMap


Copyright © 2013. All Rights Reserved.