GH_GeometricGooT Class |
Namespace: Grasshopper.Kernel.Types
The GH_GeometricGooT type exposes the following members.
Name | Description | |
---|---|---|
![]() | GH_GeometricGooT |
Blank constructor, m_value will be set to default (null for reference types, zeroes for value types)
|
![]() | GH_GeometricGooT(T) |
Data constructor, m_value will be set to internal_data.
|
Name | Description | |
---|---|---|
![]() | Boundingbox |
Gets the boundingbox for this geometry.
|
![]() | IsGeometryLoaded |
Gets a value indicating whether or not this geometry is currently loaded (assuming it is referenced).
Not all IGH_GeometricGoo implementations support referenced geometry. The default is to always return True.
|
![]() | IsReferencedGeometry |
Gets a value indicating whether or not this geometry is referenced.
Not all IGH_GeometricGoo implementations support referenced geometry.
|
![]() | IsValid |
Gets a value indicating whether or not the current value is valid.
(Overrides GH_GooTIsValid.) |
![]() | IsValidWhyNot |
Gets a string describing the state of "invalidness".
If the instance is valid, then this property should return
Nothing or String.Empty.
(Inherited from GH_GooT.) |
![]() | ReferenceID |
Gets or sets the Guid of the object that is referenced.
Not all IGH_GeometricGoo implementations support referenced geometry.
The default implementation is to always return Guid.Empty.
|
![]() | TypeDescription |
Gets a description of the type of the implementation.
(Inherited from GH_GooT.) |
![]() | TypeName |
Gets the name of the type of the implementation.
(Inherited from GH_GooT.) |
![]() | Value |
Gets or sets the value of this type.
Note that if the type has a ReferenceID this value might get destroyed in the future.
(Overrides GH_GooTValue.) |
Name | Description | |
---|---|---|
![]() | CastFrom |
Attempt a cast from generic object.
(Overrides GH_GooTCastFrom(Object).) |
![]() | CastToQ(Q) |
Attempt a cast to type T.
(Overrides GH_GooTCastToQ(Q).) |
![]() | CastToQ(Q) |
Attempt a cast to type Q.
(Inherited from GH_GooT.) |
![]() | ClearCaches |
Clears all caches. Typically if the geometry is referenced, this will erase the local copy.
If your T is a value-type, you must override this function and specifically unset the local value.
|
![]() | Duplicate |
Make a complete duplicate of this instance. No shallow copies.
(Overrides GH_GooTDuplicate.) |
![]() | DuplicateGeometry |
Make a complete duplicate of this geometry. No shallow copies.
|
![]() | EmitProxy |
Create a new proxy for this instance. Return Null if this class does not support proxies.
(Overrides GH_GooTEmitProxy.) |
![]() | GetBoundingBox |
Compute an aligned boundingbox.
|
![]() | LoadGeometry |
If the geometry is referenced and currently unloaded, forces loading of the geometry.
Not all IGH_GeometricGoo implementations support referenced geometry.
|
![]() | LoadGeometry(RhinoDoc) |
If the geometry is referenced and currently unloaded, forces loading of the geometry.
Not all IGH_GeometricGoo implementations support referenced geometry. The default is to always return True.
|
![]() | Morph |
Morph the object or a deformable representation of the object.
|
![]() | Read |
Default behaviour is to return True.
(Inherited from GH_GooT.) |
![]() | 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.
(Inherited from GH_GooT.) |
![]() | ToString |
Creates a string description of the current instance value.
(Inherited from GH_GooT.) |
![]() | Transform |
Transforms the object or a deformable representation of the object.
|
![]() | Write |
Default behaviour is to return True.
(Inherited from GH_GooT.) |