Class AnchoredBoxable
Represents an object that is both anchored to a root point and can expand to a 3D box.
public class AnchoredBoxable : IGetAnchor, IGetTopoIndex, IExpandToBox3d
- Inheritance
-
AnchoredBoxable
- Implements
- Inherited Members
- Extension Methods
Constructors
AnchoredBoxable()
Initializes a new instance of the AnchoredBoxable class.
public AnchoredBoxable()
AnchoredBoxable(IGetAnchor, IExpandToBox3d)
Initializes a new instance of the AnchoredBoxable class with the specified anchor and boxable object.
public AnchoredBoxable(IGetAnchor anchor, IExpandToBox3d boxable)
Parameters
anchor
IGetAnchorThe object that provides the root anchor.
boxable
IExpandToBox3dThe object that can expand to a 3D box.
Properties
Anchor
Gets or sets the anchor point.
public Anchor Anchor { get; set; }
Property Value
Boxable
Gets or sets the boxable object that can expand to a 3D box.
public IExpandToBox3d Boxable { get; set; }
Property Value
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
Box3dDestination box
GetAnchor()
Get key anchor. (i.e. root anchor)
public Anchor GetAnchor()
Returns
- Anchor
key anchor