Class RawFuncDisplayee
A displayee implementation that delegates display functionality to function delegates.
public class RawFuncDisplayee : IDisplayee, IExpandToBox3d
- Inheritance
-
RawFuncDisplayee
- Implements
- Inherited Members
- Extension Methods
Constructors
RawFuncDisplayee()
Initializes a new instance of the RawFuncDisplayee class.
public RawFuncDisplayee()
RawFuncDisplayee(Action<Bind>, Action<Box3d>)
Initializes a new instance of the RawFuncDisplayee class with display and expand delegates.
public RawFuncDisplayee(Action<Bind> displayDelegate, Action<Box3d> expandToBox3dDelegate)
Parameters
displayDelegateAction<Bind>The delegate for the Display method.
expandToBox3dDelegateAction<Box3d>The delegate for the ExpandToBox3d method.
Properties
DisplayDelegate
Gets or sets the delegate for the Display method.
public Action<Bind> DisplayDelegate { get; set; }
Property Value
ExpandToBox3dDelegate
Gets or sets the delegate for the ExpandToBox3d method.
public Action<Box3d> ExpandToBox3dDelegate { get; set; }
Property Value
Methods
Display(Bind)
Display function called in DispEngine rendering loop.
public void Display(Bind bind)
Parameters
bindBindBind with DispEngine. See Bind.
ExpandToBox3d(Box3d)
Expands the destination box. This function is usually used to compute the bounding box of elements.
public void ExpandToBox3d(Box3d dst)
Parameters
dstBox3dDestination box