Gaussian class

Constructors

Gaussian(Float32List g, TerrainOptions options, [double s = 1, int kernelSize = 7])
Perform Gaussian smoothing on terrain vertices.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

convolve(List<Float32List> src, List<Float32List> kernel, [List<Float32List>? tgt]) List<Float32List>
Convolve an array with a kernel.
gauss(double x, double s) double
Returns the value at X of a Gaussian distribution with standard deviation S.
gaussian(List<Float32List> src, [double s = 1, int kernelSize = 7]) List<Float32List>
Perform Gaussian smoothing.
gaussianKernel1D(double s, int? n) Float32List
Generate a Gaussian kernel.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited