mmf
Class DistanceEstimatorBase
Object
common:Generic
common:Coloring
common:GradientColoring
mmf:DistanceEstimatorBase
- Direct Known Subclasses:
- MMF_Magnet1DistanceEstimator, MMF_Magnet2DistanceEstimator, MMF_NewtonDistanceEstimator, MMF_NovaDistanceEstimator, MMF_StandardDistanceEstimator
class
- GradientColoring:DistanceEstimatorBase
Distance Estimator base class.
Ultra Fractal Source
Toggle UF Source Code Display
class DistanceEstimatorBase(common.ulb:GradientColoring) {
; Distance Estimator base class.
public:
import "common.ulb"
; @param pparent the parent, generally "this" for the parent, or zero
func DistanceEstimatorBase(Generic pparent)
GradientColoring.GradientColoring(pparent)
endfunc
; @param pz
; @return the distance
float func ResultDistance(complex pz)
return real(pz)
endfunc
; @param pz
; @return the angle (from 0 to 1)
float func ResultAngle(complex pz)
return real(pz)
endfunc
protected:
complex dz
default:
int param v_distanceestimatorbase
caption = "Version (Distance Estimator Base)"
default = 100
hint = "This version parameter is used to detect when a change has \
been made to the formula that is incompatible with the \
previous version. When that happens, this field will reflect \
the old version number to alert you to the fact that an \
alternate rendering is being used."
visible = @v_distanceestimatorbase < 100
endparam
}
Methods inherited from class Object |
|
DistanceEstimatorBase
public DistanceEstimatorBase(Generic pparent)
- Parameters:
pparent
- the parent, generally "this" for the parent, or zero
DistanceEstimatorBase
public DistanceEstimatorBase()
ResultDistance
public float ResultDistance(complex pz)
- Parameters:
pz
-
- Returns:
- the distance
ResultAngle
public float ResultAngle(complex pz)
- Parameters:
pz
-
- Returns:
- the angle (from 0 to 1)