Represents a 3D oriented Box volume.
Constructors
Fields
m_value
protected T m_value
Properties
IsReferencedGeometry
Gets a value indicating whether or not this geometry is referenced. Not all IGH_GeometricGoo implementations support referenced geometry.
Implements: IsReferencedGeometry
IsValidWhyNot
#Gets a string describing the state of "invalidness". If the instance is valid, then this property should return Nothing or String.Empty.
Overrides: GH_Goo<T>.IsValidWhyNot
Methods
CastTo<Q>
Attempt a cast to type Q.
Remarks: If false, the target instance contents are not guaranteed to be valid.
Returns: True on success, false on failure.
Implements: CastTo
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.
Returns: True on success, false on failure.
LoadGeometry
If the geometry is referenced and currently unloaded, forces loading of the geometry. Not all IGH_GeometricGoo implementations support referenced geometry.
Implements: LoadGeometry
LoadGeometry
#Overrides: GH_GeometricGoo<T>.LoadGeometry
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.
Returns: The default implementation of this function returns the Value instance.
Implements: ScriptVariable