Table of Contents

Class DimensionBar

Namespace
Hi.Disp.Flag
Assembly
HiDisp.dll

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

double

Unit

Gets or sets the unit of measurement to display.

public string Unit { get; set; }

Property Value

string

Methods

Display(Bind)

Display function called in DispEngine rendering loop.

public void Display(Bind bind)

Parameters

bind Bind

Bind 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

bind Bind

The binding context to display on.

unit string

The unit of measurement to display.

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

dst box3d_t

Destination box, expanded in place