Class BitGeneratorMapDefault


public class BitGeneratorMapDefault extends BitGeneratorMap

Map scanner for mercator and cylindrical projections.

© 2002 Christian Treber, [email protected]

  • Constructor Details

    • BitGeneratorMapDefault

      public BitGeneratorMapDefault(Projection pProjection)
  • Method Details

    • getEdgeXingComparator

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

      protected ext.plantuml.com.ctreber.acearth.scanbit.ScanBuf scanOutline()
      Seems to: walk along outline of projected area.
      Specified by:
      scanOutline in class BitGeneratorMap
    • scanPolygon

      protected void scanPolygon(ext.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:
      scanPolygon in class BitGeneratorMap
    • handleCrossings

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

      Side effect: Creates ScanBuf lines.

      Specified by:
      handleCrossings in class BitGeneratorMap