Class GradientDensity
Measures the slope of the input field: finite-difference gradient over a step, reported as the angle (in degrees, 0-90) between that gradient direction and a reference axis. Allocates per-call contexts.
public sealed class GradientDensity : Density
- Inheritance
-
GradientDensity
- Inherited Members
Constructors
GradientDensity(Density?, double, Vector3d)
public GradientDensity(Density? input, double slopeRange, Vector3d axis)
Parameters
Methods
Process(Context)
public override double Process(Density.Context context)
Parameters
Returns
SetInputs(Density[])
Wire this node's inputs (no-op for leaf nodes).
public override void SetInputs(Density[] inputs)
Parameters
inputsDensity[]