TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class Tinman.Heightmap.Clip

Short Name:
  • class Heightmap.Clip
Derived From:
Fields:

Clips away portions of the given heightmap, according to the Heightmap.Layer.Coverage layer of the given heightmap.

The coverage values of the resulting heightmap are computed like this:

inverse == false : c_out = c_in * c_mask
inverse == true  : c_out = in * (1 - c_mask)

where c_out is the normalized coverage value (i.e. in the range [0..1]) of the resulting heightmap, c_in is the normalized coverage value of first and c_arg is the normalized coverage value of second.

Fields

The following table lists all fields of this config type.

Field Type Constraint Default
required first Heightmap
# != null
 

The heightmap from which to clip away portions.

required second Heightmap
# != null
 

The heightmap which Heightmap.Layer.Coverage layer to use for clipping portions of first.

optional inverse bool  
false

Invert the coverage values in second before clipping?

external id Dataset.Id    

Returns a unique identifier for this dataset.

external metadata Dataset.Info    

Returns dataset metadata information.

external georef Tinman.Georef    

Returns georeferencing information.

external info Heightmap.Info    

Holds detail information about this heightmap.