Table of Contents

Class AsmbDraw

Namespace
Hi.Mech.Topo
Assembly
HiMech.dll

Render all Anchors of the Asmb in form of CoordinateDrawing.

public class AsmbDraw : IDisplayee, IExpandToBox3d
Inheritance
AsmbDraw
Implements
Inherited Members
Extension Methods

Constructors

AsmbDraw(Asmb, Anchor)

Ctor.

public AsmbDraw(Asmb asmb, Anchor root)

Parameters

asmb Asmb

asmb

root Anchor

fixed anchor

Properties

Asmb

Asmb.

public Asmb Asmb { get; set; }

Property Value

Asmb

Root

Fixed anchor.

public Anchor Root { get; set; }

Property Value

Anchor

Methods

Display(Bind)

Display function called in DispEngine rendering loop.

public void Display(Bind bind)

Parameters

bind Bind

Bind with DispEngine. See Bind.

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