common
Class ClipShape

Object
  extended by common:Generic
      extended by common:Transform
          extended by common:ClipShape
Direct Known Subclasses:
ClipShapeMerge, DMJ_ClipShapeCircle, DMJ_ClipShapePolyCurve, DMJ_ClipShapeRectangle, NullClipShape, Standard_Clipping

class 
Transform:ClipShape

This is a generic clip shape class. It takes an arbitrary point and determines whether it is inside (solid) or outside (not solid) (and returns the original point).

This differs from a more generic Transform in that it has additional functions to allow it to manipulate a Handles object, and allows an aspect ratio to be passed in from a ScreenRelative transform and a generalized rotation.


Ultra Fractal Source

Toggle UF Source Code Display

 class ClipShape(Transform) {
   ; This is a generic clip shape class. It takes an arbitrary
   ; point and determines whether it is inside (solid) or
   ; outside (not solid) (and returns the original point).
   ; <p>
   ; This differs from a more generic Transform in that it has
   ; additional functions to allow it to manipulate a Handles
   ; object, and allows an aspect ratio to be passed in from
   ; a ScreenRelative transform and a generalized rotation.
   
 public:
   func ClipShape(Generic pparent)
     Transform.Transform(pparent)
     m_Aspect = 1.0
   endfunc
   
   func SetHandles(Handles phandles)
     m_Handles = phandles
   endfunc
   
   func SetAspect(float paspect)
     m_Aspect = paspect
   endfunc
   
 protected:
   Handles m_Handles
   float m_Aspect
 
 default:
   int param v_clipshape
     caption = "Version (Clipshape)"
     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_clipshape < 100
   endparam
 }
 


Constructor Summary
ClipShape()
           
ClipShape(Generic pparent)
           
 
Method Summary
 void SetAspect(float paspect)
           
 void SetHandles(Handles phandles)
           
 
Methods inherited from class common:Transform
Init, IsSolid, Iterate, IterateSilent
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

ClipShape

public ClipShape(Generic pparent)

ClipShape

public ClipShape()
Method Detail

SetHandles

public void SetHandles(Handles phandles)

SetAspect

public void SetAspect(float paspect)