oevislib_net  0.14.3.0
Loading...
Searching...
No Matches
Point Transforms

Functions

static Profile oevislib_net.Profile.operator* (Profile inProfile, float inValue)
 Multiplies each element of a profile by the specified value.
void oevislib_net.Profile.Abs (Optional< Range > inRange=null)
 Replaces each profile value with its absolute value (in-place).
void oevislib_net.Profile.Add (float inValue, Optional< Range > inRange=null)
 Adds the value to each element of the profile (in-place).
void oevislib_net.Profile.Divide (float inValue, Optional< Range > inRange=null)
 Divides each element of a profile by the specified value (in-place).
void oevislib_net.Profile.Limit (Optional< float > inLowValue=null, Optional< float > inHighValue=null, Optional< Range > inRange=null)
 Limits profile's values in a certain range (in-place).
void oevislib_net.Profile.Multiply (float inValue, Optional< Range > inRange=null)
 Multiplies each element of a profile by the specified value (in-place).
void oevislib_net.Profile.Negate (Optional< Range > inRange=null)
 Negates each value of the profile (in-place).
void oevislib_net.Profile.Normalize (Optional< float > inNewMinimum, Optional< float > inNewMaximum, float inSaturateHighestFraction, float inSaturateLowestFraction, Optional< Range > inRange, Optional< float > outA, Optional< float > outB)
 Rescales the profile linearly so that its minimum becomes inNewMinimum and its maximum becomes inNewMaximum (in-place).
void oevislib_net.Profile.Rescale (float inA, float inB, Optional< Range > inRange=null)
 Rescales the profile, applying the linear transformation x * inA + inB (in-place).
void oevislib_net.Profile.Subtract (float inValue, Optional< Range > inRange=null)
 Subtracts the specified value from each element of the profile (in-place).

Detailed Description

Function Documentation

◆ Abs()

void oevislib_net.Profile.Abs ( Optional< Range > inRange = null)
inline

Replaces each profile value with its absolute value (in-place).

Parameters
inRangeRange of indices to consider.

◆ Add()

void oevislib_net.Profile.Add ( float inValue,
Optional< Range > inRange = null )
inline

Adds the value to each element of the profile (in-place).

Parameters
inValueValue to add.
inRangeRange of indices to consider.

◆ Divide()

void oevislib_net.Profile.Divide ( float inValue,
Optional< Range > inRange = null )
inline

Divides each element of a profile by the specified value (in-place).

Parameters
inValueDivisor.
inRangeRange of indices to consider.

◆ Limit()

void oevislib_net.Profile.Limit ( Optional< float > inLowValue = null,
Optional< float > inHighValue = null,
Optional< Range > inRange = null )
inline

Limits profile's values in a certain range (in-place).

Parameters
inLowValueMinimum value.
inHighValueMaximum value.
inRangeRange of indices to consider.

◆ Multiply()

void oevislib_net.Profile.Multiply ( float inValue,
Optional< Range > inRange = null )
inline

Multiplies each element of a profile by the specified value (in-place).

Parameters
inValueMultiplier.
inRangeRange of indices to consider.

◆ Negate()

void oevislib_net.Profile.Negate ( Optional< Range > inRange = null)
inline

Negates each value of the profile (in-place).

Parameters
inRangeRange of indices to consider.

◆ Normalize()

void oevislib_net.Profile.Normalize ( Optional< float > inNewMinimum,
Optional< float > inNewMaximum,
float inSaturateHighestFraction,
float inSaturateLowestFraction,
Optional< Range > inRange,
Optional< float > outA,
Optional< float > outB )
inline

Rescales the profile linearly so that its minimum becomes inNewMinimum and its maximum becomes inNewMaximum (in-place).

Parameters
inNewMinimumMinimum value of the resulting profile (or the current minimum of the profile, if not defined).
inNewMaximumMaximum value of the resulting profile (or the current maximum of the profile, if not defined).
inSaturateHighestFractionFraction of the highest values skipped when normalizing. Range: [0, 1].
inSaturateLowestFractionFraction of the lowest values skipped when normalizing. Range: [0, 1].
inRangeRange of indices to consider.
outAMultiplicative parameter of the applied linear transformation.
outBAdditive parameter of the applied linear transformation.

◆ operator*()

Profile oevislib_net.Profile.operator* ( Profile inProfile,
float inValue )
inlinestatic

Multiplies each element of a profile by the specified value.

Parameters
inProfileProfile.
inValueMultiplier.
Returns
Updated profile.

◆ Rescale()

void oevislib_net.Profile.Rescale ( float inA,
float inB,
Optional< Range > inRange = null )
inline

Rescales the profile, applying the linear transformation x * inA + inB (in-place).

Parameters
inAValued multiplied.
inBValued added.
inRangeRange of indices to consider.

◆ Subtract()

void oevislib_net.Profile.Subtract ( float inValue,
Optional< Range > inRange = null )
inline

Subtracts the specified value from each element of the profile (in-place).

Parameters
inValueValue to subtract.
inRangeRange of indices to consider.