Class BitGeneratorMapDefault
java.lang.Object
zext.plantuml.com.ctreber.acearth.scanbit.ScanBitGenerator
zext.plantuml.com.ctreber.acearth.scanbit.BitGeneratorMap
zext.plantuml.com.ctreber.acearth.scanbit.BitGeneratorMapDefault
Map scanner for mercator and cylindrical projections.
© 2002 Christian Treber, ct@ctreber.com
-
Field Summary
Fields inherited from class zext.plantuml.com.ctreber.acearth.scanbit.BitGeneratorMap
PixTypeGridLand, PixTypeGridWater, PixTypeLand, PixTypeSpace, PixTypeStar, PixTypeWaterFields inherited from class zext.plantuml.com.ctreber.acearth.scanbit.ScanBitGenerator
fScanBitsArray -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Comparatorprotected voidhandleCrossings(zext.plantuml.com.ctreber.acearth.scanbit.ScanBuf pScanBuf, EdgeCrossing[] xings) Side effect: Creates ScanBuf lines.protected zext.plantuml.com.ctreber.acearth.scanbit.ScanBufSeems to: walk along outline of projected area.protected voidscanPolygon(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?Methods inherited from class zext.plantuml.com.ctreber.acearth.scanbit.BitGeneratorMap
addEdgeXing, generateScanBits, setMapDataMethods inherited from class zext.plantuml.com.ctreber.acearth.scanbit.ScanBitGenerator
getScanBits, setImageHeight, setImageWidth
-
Constructor Details
-
BitGeneratorMapDefault
-
-
Method Details
-
getEdgeXingComparator
- Specified by:
getEdgeXingComparatorin classBitGeneratorMap
-
scanOutline
protected zext.plantuml.com.ctreber.acearth.scanbit.ScanBuf scanOutline()Seems to: walk along outline of projected area.- Specified by:
scanOutlinein classBitGeneratorMap
-
scanPolygon
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?
- Specified by:
scanPolygonin classBitGeneratorMap
-
handleCrossings
protected void handleCrossings(zext.plantuml.com.ctreber.acearth.scanbit.ScanBuf pScanBuf, EdgeCrossing[] xings) Side effect: Creates ScanBuf lines.
- Specified by:
handleCrossingsin classBitGeneratorMap
-