Standard
Class Standard_TrapModeTwoFarthest

Object
  extended by common:Generic
      extended by common:TrapMode
          extended by common:TrapModeWithThreshold
              extended by Standard:Standard_TrapModeBase
                  extended by Standard:Standard_TrapModeTwoBase
                      extended by Standard:Standard_TrapModeTwoFarthest
Direct Known Subclasses:
Standard_TrapModeSecondFarthest

class 
Standard_TrapModeTwoBase:Standard_TrapModeTwoFarthest



Ultra Fractal Source

Toggle UF Source Code Display

 class Standard_TrapModeTwoFarthest(Standard_TrapModeTwoBase) {
 public:
   func Iterate(complex pz, complex pzt, float pdistance, float ptexture)
     Standard_TrapModeBase.Iterate(pz, pzt, pdistance, ptexture)
     if pdistance > m_Distances[0] && pdistance < m_Threshold
       MoveTrapInfo()
       SetTrapInfo(0, pz, pzt, pdistance)
       m_Solid = false
     elseif pdistance > m_Distances[1] && pdistance < m_Threshold
       SetTrapInfo(1, pz, pzt, pdistance)
       m_Solid = false
     endif
   endfunc
 default:
   title = "Two Farthest"
 }
 


Constructor Summary
Standard_TrapModeTwoFarthest()
           
 
Method Summary
 void Iterate(complex pz, complex pzt, float pdistance, float ptexture)
          call this for each point
 
Methods inherited from class Standard:Standard_TrapModeTwoBase
MoveTrapInfo, Result, ResultSubtract
 
Methods inherited from class Standard:Standard_TrapModeBase
Init, SetTrapInfo
 
Methods inherited from class common:TrapModeWithThreshold
GetThreshold, SetThreshold, UsesThreshold
 
Methods inherited from class common:TrapMode
GetDistance, GetIteration, GetTexture, GetTransformedPoint, GetUntransformedPoint, IsSolid, IterateSilent
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

Standard_TrapModeTwoFarthest

public Standard_TrapModeTwoFarthest()
Method Detail

Iterate

public void Iterate(complex pz,
                    complex pzt,
                    float pdistance,
                    float ptexture)
Description copied from class: TrapMode
call this for each point

Overrides:
Iterate in class TrapMode