|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object common:Generic common:Transform common:UserTransform mmf:MMF_GeneralTransform
class
offset,scale,offset,function,offset,scale,offset
class MMF_GeneralTransform(common.ulb:UserTransform) { ; offset,scale,offset,function,offset,scale,offset<br> public: complex func Iterate(complex pz) return ( @p_func((pz + @p_offset)*@p_scale + @p_offset1) \ + @p_offset2) * @p_scale1 + @p_offset3 endfunc default: title = "General Transform" complex param p_offset caption = "Initial Pre-Offset" default = (0,0) endparam complex param p_scale caption = "Pre-Scale" default = (1,0) endparam complex param p_offset1 caption = "Final Pre-Offset" default = (0,0) endparam func p_func caption = "Function" default = ident() endfunc complex param p_offset2 caption = "Initial Post-Offset" default = (0,0) endparam complex param p_scale1 caption = "Post-Scale" default = (1,0) endparam complex param p_offset3 caption = "Final Post-Offset" default = (0,0) endparam }
Constructor Summary | |
---|---|
MMF_GeneralTransform()
|
Method Summary | |
---|---|
complex |
Iterate(complex pz)
Transform a single point within a sequence |
Methods inherited from class common:Transform |
---|
Init, IsSolid, IterateSilent |
Methods inherited from class common:Generic |
---|
GetParent |
Methods inherited from class Object |
---|
|
Constructor Detail |
---|
public MMF_GeneralTransform()
Method Detail |
---|
public complex Iterate(complex pz)
Transform
After a sequence has been set up with Init(), this function will be called once for each value in the sequence. Note that all values in the sequence must be processed in order (they cannot be processed out of order). If the sequence contains only one value, Init() will still be called and then Iterate() will be called just once.
Iterate
in class Transform
pz
- the complex value to be transformed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |