mmf
Class MMF_StimulusDLA
Object
common:Generic
mmf:MMF_StimulusDLA
- Direct Known Subclasses:
- MMF_CircleStimulusDLA, MMF_RectStimulusDLA, MMF_SmartCircleStimulusDLA, MMF_SmartRectStimulusDLA
class
- Generic:MMF_StimulusDLA
Methods inherited from class Object |
|
MMF_StimulusDLA
public MMF_StimulusDLA(Generic pparent)
- Parameters:
pparent
- the parent, generally "this" from "DLA Inspired"
MMF_StimulusDLA
public MMF_StimulusDLA()
GetPoint
public complex GetPoint(float left,
float right,
float top,
float bottom)
- Parameters:
left
- The leftmost pixel of the organisms for this stimulusright
- The rightmost pixel of the organisms for this stimulustop
- The top pixel of the organisms for this stimulusbottom
- The bottom pixel of the organisms for this stimulus
- Returns:
- pixel x + flip(pixel y)
GetRange
public float GetRange()
- Returns:
- the square of the detection radius for this stimulus
Direction
public complex Direction(float x,
float y)
- Parameters:
x
- adjusted stimulus x pixel coordinatey
- adjusted stimulus y pixel coordinate
- Returns:
- cos+flip(sin) of the directional angle