com.ctreber.acearth.scanbit
Class BitGeneratorMapDefault
java.lang.Object
com.ctreber.acearth.scanbit.ScanBitGenerator
com.ctreber.acearth.scanbit.BitGeneratorMap
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]
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BitGeneratorMapDefault
public BitGeneratorMapDefault(Projection pProjection)
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.