Table of Contents

Class AnchoredBoxable

Namespace
Hi.Mech.Topo
Assembly
HiMech.dll

Represents an object that is both anchored to a root point and can expand to a 3D box.

public class AnchoredBoxable : IGetRootAnchor, IExpandToBox3d
Inheritance
AnchoredBoxable
Implements
Inherited Members
Extension Methods

Constructors

AnchoredBoxable()

Initializes a new instance of the AnchoredBoxable class.

public AnchoredBoxable()

AnchoredBoxable(IGetRootAnchor, IExpandToBox3d)

Initializes a new instance of the AnchoredBoxable class with the specified anchor and boxable object.

public AnchoredBoxable(IGetRootAnchor anchor, IExpandToBox3d boxable)

Parameters

anchor IGetRootAnchor

The object that provides the root anchor.

boxable IExpandToBox3d

The object that can expand to a 3D box.

Properties

Anchor

Gets or sets the anchor point.

public Anchor Anchor { get; set; }

Property Value

Anchor

Boxable

Gets or sets the boxable object that can expand to a 3D box.

public IExpandToBox3d Boxable { get; set; }

Property Value

IExpandToBox3d

Methods

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

GetRootAnchor()

Get root anchor.

public Anchor GetRootAnchor()

Returns

Anchor

root anchor.