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(Box3d)

Expands the destination box. This function is usually used to compute the bounding box of elements.

public void ExpandToBox3d(Box3d dst)

Parameters

dst Box3d

Destination box