BrushBounds
Public / Constructors
Canvas
Creates a new instance of BrushBounds for painting onto a geo-referenced canvas.
Heightmap and brush samples will be projected automatically as required to transform between heightmap space and brush space. For this to work, all input and output heightmaps must have a proper geo-reference, which is projectible to canvas in.
Rect
Creates a new instance of BrushBounds for painting directly onto a cubemap face.
Heightmap samples are mapped one-to-one to brush samples, no automatic resampling is performed. Thus, the calling code is responsible for making sure that all input and output heightmaps have consistent sizes (see IHeightmap.Size), so that bounds in is interpreted in a meaningful way.
Public / Methods
GetRegion
Fetches the brush samples from the given heightmap.
- IOException
-
If an I/O error has occurred.
- GeorefException
-
If the available geo-reference information is incomplete or malformed and brush samples must be projected to resp. from another coordinate system.
SetRegion
Stores the brush samples in the given heightmap.
- IOException
-
If an I/O error has occurred.
- GeorefException
-
If the available geo-reference information is incomplete or malformed and brush samples must be projected to resp. from another coordinate system.