Class FuncDisplayee
A displayee implementation that delegates display functionality to function delegates.
public class FuncDisplayee : IDisplayee, IExpandToBox3d
- Inheritance
-
FuncDisplayee
- Implements
- Inherited Members
- Extension Methods
Constructors
FuncDisplayee()
Initializes a new instance of the FuncDisplayee class.
public FuncDisplayee()
FuncDisplayee(Action<Bind>, Action<Box3d>)
Initializes a new instance of the FuncDisplayee class with display and expand delegates.
public FuncDisplayee(Action<Bind> displayDelegate, Action<Box3d> expandToBox3dDelegate)
Parameters
displayDelegate
Action<Bind>The delegate for the Display method.
expandToBox3dDelegate
Action<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
bind
BindBind 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
dst
Box3dDestination box