Describes a contour line and contour fill.
struct
|
ContourRange
|
implements
|
IEquatable<ContourRange>
|
See also:
ContourValueThe configurator object for this type.
public
static
property
|
Config
{
get
}
|
||
type
|
IConfigurator<ContourRange>
|
||
value
|
|
The configurator object. |
The configurator object for ContourValue.
public
static
readonly
field
|
ConfigValue
|
||
type
|
IConfigurator<ContourValue>
|
The contour value range to map to contour index zero.
public
readonly
field
|
Range
|
||
type
|
RangeD
|
The step value away from Range that increments resp. decrements the contour index value.
public
readonly
field
|
Step
|
||
type
|
float64
|
Creates a new instance of ContourRange.
public
constructor
|
ContourRange
(float64 offset,
float64 step)
|
||
params
|
offset
|
Contour value to map to contour index zero. | |
step
|
[>=0]
|
Contour value step away from offset that corresponds to an incremented resp. decremented contour index. |
Creates a new instance of ContourRange.
public
constructor
|
ContourRange
(RangeD range,
float64 step = 0)
|
||
params
|
range
|
Contour value range to map to contour index zero. | |
step
|
[>=0]
|
Contour
value
step
away
from
the
start
resp.
end
of
range
that
corresponds
to
an
incremented
resp.
decremented
contour
index.
Defaults
to
0 .
|
Computes a contour index of a sample in a heightmap.
[Pure]
|
||||
public
method
|
ComputeContour
(float64 value)
|
|||
type
|
int32
|
|||
params
|
value
|
The input contour value (see ContourValue). | ||
returns
|
The output contour index: Lines will be drawn where adjacent samples have different indices. Areas where the contour index is zero will be filled. |
public
method
|
Equals
(ContourRange other)
|
||
type
|
bool
|
||
params
|
other
|