Grasshopper2 Grasshopper2.Types.Functions.Standard
Grasshopper2.Types.Functions.Standardnamespace
Types
Grasshopper2.Types.Functions.Standard.AbsoluteFunction
The absolute value of a function.
Grasshopper2.Types.Functions.Standard.AdditionFunction
Addition of two functions.
Grasshopper2.Types.Functions.Standard.AverageFunction
The average of two functions.
Grasshopper2.Types.Functions.Standard.BernsteinBasisFunction
Represents an immutable bernstein polynomial basis function on the unit domain.
Grasshopper2.Types.Functions.Standard.BlendFunction
Represents an immutable interpolated equation.
Grasshopper2.Types.Functions.Standard.BlendFunction.Kind
Enumerates the possible interpolations to use for the BlendEquation.
Grasshopper2.Types.Functions.Standard.BlockWaveFunction
Block wave function in the form y = frac(x, [A,B)) < E ? C : D
Grasshopper2.Types.Functions.Standard.BlurFunction
A polyline (strictly increasing x) that is progressively blurred by repeated averaging of vertex y-values with their neighbours. In the joint limit of infinitely dense sampling and infinitely many averaging passes this is the one-dimensional heat equation on the vertex-x domain, so the blurred curve is the diffusion of the polyline towards its steady state.
The amount of blur is controlled by a second Function evaluated in x (default: a constant), clamped to 0 (no blur, the original polyline) .. 1 (full blur). The endpoint y-values are pinned (Dirichlet), so the full-blur steady state is the straight chord between the first and last vertex.
Evaluation is a closed-form eigenmode sum: the polyline is expanded once into a sine series and each mode decays as e^(-(nπ)²·τ), where τ is the dimensionless diffusion time mapped from the blur amount. No dense point cloud is ever materialised.
Grasshopper2.Types.Functions.Standard.Bump
A single bump.
Grasshopper2.Types.Functions.Standard.BumpFunction
A function with manually placed bumps in a variety of shapes.
Grasshopper2.Types.Functions.Standard.BumpFunction.BumpShape
Enumerates the possible bump shapes.
Grasshopper2.Types.Functions.Standard.ChainFunction
It's a function inside another function.
Grasshopper2.Types.Functions.Standard.ClipFunction
A function clipped to two extreme functions.
Grasshopper2.Types.Functions.Standard.ConicFunction
conic section curve represented by a 3-point degree=2 nurbs curve with a weighted centre point. The corners can be filleted.
Grasshopper2.Types.Functions.Standard.ConstantFunction
Represents a constant value function.
Grasshopper2.Types.Functions.Standard.CosineFunction
Cosine function in the form y = A·cos(D·x-B) + C
Grasshopper2.Types.Functions.Standard.CrossRatioFunction
Cross-ratio of four functions.
Grasshopper2.Types.Functions.Standard.CumulativeDensityFunction
Represents an immutable cumulative density function.
Grasshopper2.Types.Functions.Standard.CurveFunction
Represents an immutable Rhino curve equation.
Grasshopper2.Types.Functions.Standard.DecayFunction
Represents an immutable function for various types of falloff curves.
Grasshopper2.Types.Functions.Standard.DecayFunction.DecayDerivative
Grasshopper2.Types.Functions.Standard.DerivativeFunction
The derivative of a function.
Grasshopper2.Types.Functions.Standard.DivisionFunction
Ratio of two functions.
Grasshopper2.Types.Functions.Standard.DomainFunction
A unary function which limits the existence of an underlying function to a given
Region1 .
Grasshopper2.Types.Functions.Standard.ExponentiationFunction
One function raised to another function.
Grasshopper2.Types.Functions.Standard.ExpressionFunction
Represents an immutable expression equation. This equation specifically doesn't allow for custom variable resolvers as the results are cached.
Grasshopper2.Types.Functions.Standard.FourierFrequency
A single element in a Fourier frequency space.
Grasshopper2.Types.Functions.Standard.FourierFunction
Provides a fourier transform interpolation of an equally spaced set of time samples.
Grasshopper2.Types.Functions.Standard.GaussianFunction
Represents an immutable gaussian equation.
Grasshopper2.Types.Functions.Standard.HandleType
Enumerates the possible types of cubic handles.
Grasshopper2.Types.Functions.Standard.HyperbolaFunction
Represents an immutable hyperbolic function in the form y = (ax + b) + (d/(x - c))
Grasshopper2.Types.Functions.Standard.IntegralFunction
The integral of a function.
Grasshopper2.Types.Functions.Standard.InterpolationAlgorithm
Enumerates the possible interpolation algorithms.
Grasshopper2.Types.Functions.Standard.InterpolationFunction
Represents an immutable interpolated equation.
Grasshopper2.Types.Functions.Standard.LimitFunction
A function limited to two extreme functions.
Grasshopper2.Types.Functions.Standard.LinearFunction
Linear function in the form y = Ax+B
Grasshopper2.Types.Functions.Standard.LinearMapFunction
A linear transformation of another function.
Grasshopper2.Types.Functions.Standard.LogarithmFunction
Represents an immutable logarithm equation in the form y = logₐ(x-b) + c
Grasshopper2.Types.Functions.Standard.LogisticMapFunction
A map from a function to the logistic function.
Grasshopper2.Types.Functions.Standard.MaximumFunction
Maximum of two functions.
Grasshopper2.Types.Functions.Standard.MinimumFunction
Minimum of two functions.
Grasshopper2.Types.Functions.Standard.MirrorFunction
A function which horizontally mirrors another function.
Grasshopper2.Types.Functions.Standard.MoveFunction
A linear transformation of another function.
Grasshopper2.Types.Functions.Standard.MultipleFunction
An operator function which counts the number of multiples of one function which fit into another. Use this instead of the
RoundingFunction if you want to round to increments other than a fixed number of decimals.
Grasshopper2.Types.Functions.Standard.MultiplicationFunction
Product of two functions.
Grasshopper2.Types.Functions.Standard.NegativeFunction
A unary operator function for limiting a function to only negative values.
Grasshopper2.Types.Functions.Standard.ParabolaFunction
Represents an immutable parabolic equation in the form y = A(x-B)² + C
Grasshopper2.Types.Functions.Standard.PolynomialFunction
Represents an immutable polynomial equation in the form y = a + bx² + cx³ + ...
Grasshopper2.Types.Functions.Standard.PositiveFunction
A unary operator function for limiting a function to only positive values.
Grasshopper2.Types.Functions.Standard.ProbabilityDensityFunction
Represents an immutable probability density function.
Grasshopper2.Types.Functions.Standard.ReciprocalFunction
Represents an immutable reciprocal equation in the form y = 1/((x - b)^p) + c, however with fixed signs to allow for fractional exponents and negative numbers.
Grasshopper2.Types.Functions.Standard.RoundingFunction
A unary operator function for rounding another function.
Grasshopper2.Types.Functions.Standard.SawToothFunction
Sawtooth function in the form y = norm(x, [A,B)) * (D-C) + C
Grasshopper2.Types.Functions.Standard.SequenceFunction
Defines a sequence of functions on consecutive numeric domains.
Grasshopper2.Types.Functions.Standard.SigmoidFunction
A bounded, monotonic sigmoid (S-curve) transitioning from a low asymptote to a high asymptote. The curve is antisymmetric about its inflection point, which sits at the mid-level halfway between the two asymptotes.
The steepness is given by the slope at the inflection. A negative slope produces a falling sigmoid. Every SigmoidKind shares the same asymptotes, inflection and inflection-slope for a given set of parameters, so switching variants keeps those anchors fixed and changes only the tail behaviour.
Grasshopper2.Types.Functions.Standard.SigmoidKind
The family of common sigmoid (S-shaped) curves. All variants share the same anchors — an inflection point and a tangent slope — and differ only in how quickly they saturate towards their asymptotes (their tail behaviour).
Grasshopper2.Types.Functions.Standard.SignFunction
The sign of a function.
Grasshopper2.Types.Functions.Standard.SimplexNoise
Grasshopper2.Types.Functions.Standard.SincFunction
Sinc (Sinus Cardinalis) function in the form y = A(sin(Dx-B))/x)+C
Grasshopper2.Types.Functions.Standard.SineFunction
Cosine function in the form y = A*sin(Dx-B) + (Ex+C)
Grasshopper2.Types.Functions.Standard.SmoothMaximumFunction
The smooth maximum of two functions.
Grasshopper2.Types.Functions.Standard.SmoothMinimumFunction
The smooth minimum of two functions.
Grasshopper2.Types.Functions.Standard.SNoiseFunction
Represents a one-dimensional Simplex noise function.
Grasshopper2.Types.Functions.Standard.SplineFunction
Represents an immutable sequence of cubic grips.
Grasshopper2.Types.Functions.Standard.SplineHandle
Represents a single grip in a two-dimensional bezier curve chain.
Grasshopper2.Types.Functions.Standard.StudentTFunction
Represents an immutable Student-T distribution.
Grasshopper2.Types.Functions.Standard.SubtractionFunction
Subtraction of two functions.
Grasshopper2.Types.Functions.Standard.TangentFunction
Tangent function in the form y = A*tan(Dx-B)) + C. The tangent function does not currently have a UI defined for it.
Grasshopper2.Types.Functions.Standard.ThresholdFunction
A function which jumps from zero to some constant at a threshold.
Grasshopper2.Types.Functions.Standard.TransitionFunction
Transition from one function to another.
Grasshopper2.Types.Functions.Standard.TriangleFunction
Triangle wave function.
Grasshopper2.Types.Functions.Standard.UnaryArithmeticFunction
Utility function for applying standard arithmetic to functions.
Grasshopper2.Types.Functions.Standard.WaveletFunction
A sinusoidal wavelet with a gaussian decay.