Represents a 3D oriented Box volume.

Constructors

GH_Box

#
public GH_Box()

GH_Box

#
public GH_Box()

GH_Box

#
public GH_Box(
box
)

GH_Box

#
public GH_Box(
GH_Box
other
)

GH_Box

#
public GH_Box(
id
)

Fields

m_value

protected T m_value
inherited fromGH_Goo<T>

Properties

Boundingbox

#
public override BoundingBox Boundingbox { get; }

ClippingBox

#
public BoundingBox ClippingBox { get; }
ClippingBox

IsGeometryLoaded

#
public override bool IsGeometryLoaded { get; }

IsReferencedGeometry

Gets a value indicating whether or not this geometry is referenced. Not all IGH_GeometricGoo implementations support referenced geometry.
public virtual bool IsReferencedGeometry { get; }
inherited fromGH_GeometricGoo<T>

IsValid

#
public override bool IsValid { get; }

IsValidWhyNot

#
Gets a string describing the state of "invalidness". If the instance is valid, then this property should return Nothing or String.Empty.
public override string IsValidWhyNot { get; }

ReferenceID

#
public override Guid ReferenceID { get; set; }

TypeDescription

#
public override string TypeDescription { get; }

TypeName

#
public override string TypeName { get; }

Value

#
public override Box Value { get; set; }

Methods

AppendRenderGeometry

#
public void AppendRenderGeometry(
args,
materialHint
)

BakeGeometry

#
public bool BakeGeometry(
doc,
att,
ref Guid
obj_guid
)
BakeGeometry

Brep

#
Differs from Rhino.Geometry.Brep.FromBox() because it Handles degenerate cases.
public Brep Brep()

CastFrom

#
public override bool CastFrom(
source
)

CastTo<Q>

Attempt a cast to type Q.
public virtual bool CastTo<Q>(
ref Q
target
Pointer to target of cast.
)
inherited fromGH_Goo<T>
Remarks: If false, the target instance contents are not guaranteed to be valid.
True on success, false on failure.
CastTo

CastTo<T>

#
public override bool CastTo<T>(
ref T
target
)

ClearCaches

#
public override void ClearCaches()

DrawViewportMeshes

#
public void DrawViewportMeshes()
DrawViewportMeshes

DrawViewportWires

#
public void DrawViewportWires()
DrawViewportWires

Duplicate

#
public override IGH_Goo Duplicate()

DuplicateBox

#
public GH_Box DuplicateBox()

DuplicateGeometry

#
public override IGH_GeometricGoo DuplicateGeometry()

EmitProxy

#
public override IGH_GooProxy EmitProxy()

Geometry

#
Convert the box to a GeometryBase instance.
public bool Geometry(
ref Brep
brp,
If the box is at most degenerate in one direction, the brp parameter will be filled out.
ref Curve
crv,
If the box is degenerate in exactly two directions, the crv parameter will be filled out.
ref Point
pt
If the box is degenerate in all three directions, the pt parameter will be filled out.
)
True on success, false on failure.

GetBoundingBox

#
public override BoundingBox GetBoundingBox(
xform
)

LoadGeometry

If the geometry is referenced and currently unloaded, forces loading of the geometry. Not all IGH_GeometricGoo implementations support referenced geometry.
public virtual bool LoadGeometry()
inherited fromGH_GeometricGoo<T>
LoadGeometry

LoadGeometry

#
public override bool LoadGeometry()

Mesh

#
public Mesh Mesh()

Morph

#
public override IGH_GeometricGoo Morph(
xmorph
)

Read

#
public override bool Read(
reader
)
GH_Goo<T>.Read

ScriptVariable

This function will be called when the local IGH_Goo instance disappears into a user Script. This would be an excellent place to cast your IGH_Goo type to a simple data type.
public virtual object ScriptVariable()
inherited fromGH_Goo<T>
The default implementation of this function returns the Value instance.
ScriptVariable

ToString

#
public override string ToString()

Transform

#
public override IGH_GeometricGoo Transform(
Transform
xform
)

Write

#
public override bool Write(
writer
)
GH_Goo<T>.Write