Class DimensionBar
DimensionBar. For Covering mode.
public class DimensionBar : IDisplayee, IExpandToBox3d
- Inheritance
-
DimensionBar
- Implements
- Inherited Members
- Extension Methods
Properties
OffsetH
Gets the vertical offset of the dimension bar.
public static double OffsetH { get; }
Property Value
Unit
Gets or sets the unit of measurement to display.
public string Unit { 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.
Display(Bind, string)
Displays the dimension bar on the specified binding context.
public static void Display(Bind bind, string unit)
Parameters
ExpandToBox3d(ref box3d_t)
Expands the destination box.
This function is usually used to compute the bounding box of elements.
box3d_t is a value type, so the destination is passed by reference
(the C++ expand_to_box3d(box3&) shape); an implementation writes
dst = dst.Expanded(...) or forwards ref dst to its parts.
public void ExpandToBox3d(ref box3d_t dst)
Parameters
dstbox3d_tDestination box, expanded in place