igeo

## Class ISurfaceDensityMap

- java.lang.Object
- - igeo.IMap
  - - igeo.ISurfaceDensityMap

-     public class ISurfaceDensityMap
      extends IMap

  A subclass of IMap defined by accumulated curvature of a surface
  Author:
    Satoru Sugihara

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `IVec` | `orig`
    `ISurfaceI` | `surface`
    `IVec` | `uvec`
    `IVec` | `vvec`

    - ### Fields inherited from class igeo.IMap

      `defaultDensityHeight, defaultDensityWidth, defaultExportHeight, defaultExportWidth, densityMinDelta, uIntegration, vIntegration`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ISurfaceDensityMap(ISurfaceI surf)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ISurfaceDensityMap` | `initDensityMapU(int width, int height)`
    `ISurfaceDensityMap` | `initMap()`
    `IVec2` | `project(double u, double v)`
    `double` | `projectU(double u, double v)`
    `double` | `projectV(double u, double v)`

    - ### Methods inherited from class igeo.IMap

      `createImage, createImage, flipU, flipV, get, get, initDensityMapU, initDensityMapV, initDensityMapV, matchUDensityWithMap, matchUDensityWithMap, matchVDensityWithMap, matchVDensityWithMap, saveAsJPEG, saveAsJPEG, saveAsPNG, saveAsPNG, scaleDensityMapU, scaleDensityMapV`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### surface

          public ISurfaceI surface

    - #### orig

          public IVec orig

    - #### uvec

          public IVec uvec

    - #### vvec

          public IVec vvec

  - ### Constructor Detail

    - #### ISurfaceDensityMap

          public ISurfaceDensityMap(ISurfaceI surf)

      Parameters:
        `surf` - surface should be rectangle

  - ### Method Detail

    - #### initMap

          public ISurfaceDensityMap initMap()

    - #### initDensityMapU

          public ISurfaceDensityMap initDensityMapU(int width,
                                           int height)

      Overrides:
        `initDensityMapU` in class `IMap`

    - #### projectU

          public double projectU(double u,
                        double v)

      Overrides:
        `projectU` in class `IMap`
      Parameters:
        `u` - range 0-1
        `v` - range 0-1

    - #### projectV

          public double projectV(double u,
                        double v)

      Overrides:
        `projectV` in class `IMap`
      Parameters:
        `u` - range 0-1
        `v` - range 0-1

    - #### project

          public IVec2 project(double u,
                      double v)

      Overrides:
        `project` in class `IMap`
      Parameters:
        `u` - range 0-1
        `v` - range 0-1