public class GH_TextDot : GH_GeometricGoo<TextDot>, IGH_BakeAwareData, IGH_PreviewData, IGH_GeometricGoo
Represents an implementation of a Rhino text dot.
Constructors
GH_TextDot
#public GH_TextDot(GH_TextDot other)
Create a duplicate of another GH_TextDot. This constructor also copies reference data.
Parameters:
| other (GH_TextDot) | Text dot to duplicate |
Fields
m_value
protected T m_value
Properties
IsGeometryLoaded
#Gets the load state of this text dot object. The text dot is considered to be loaded when the local text dot instance is not null.
Overrides: GH_GeometricGoo<T>.IsGeometryLoaded
IsReferencedGeometry
Gets a value indicating whether or not this geometry is referenced. Not all IGH_GeometricGoo implementations support referenced geometry.
Implements: IsReferencedGeometry
IsValid
#Gets the validity of this text dot. If the text dot is referenced but cannot be loaded, the text dot is not valid.
Overrides: GH_GeometricGoo<T>.IsValid
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
BakeGeometry
#Parameters:
| doc (RhinoDoc) | |
| att (ObjectAttributes) | |
| obj_guid (ref Guid) |
Implements: BakeGeometry
CastFrom
#Remote to Local caster function. This stuff is complex, don't concern yourself with casting logic.
Parameters:
| source (object) |
Overrides: GH_GeometricGoo<T>.CastFrom
Remarks: If false, the target instance contents are not guaranteed to be valid.
Parameters:
| target (ref Q) | Pointer to target of cast. |
Returns: True on success, false on failure.
Implements: CastTo
CastTo<T>
#Local to Remote caster function. This stuff is complex, don't concern yourself with casting logic.
Parameters:
| target (ref T) |
Overrides: GH_GeometricGoo<T>.CastTo
ClearCaches
#public override void ClearCaches()
Clears all volatile caches for this instance. The boundingbox is cleared, and if the text dot is referenced, the local instance of the text dot is erased.
Overrides: GH_GeometricGoo<T>.ClearCaches
DuplicateGeometry
#Create a duplicate of this text dot.
Overrides: GH_GeometricGoo<T>.DuplicateGeometry
LoadGeometry
#If the geometry is referenced and not yet loaded, attempts to load the geometry.
Returns: True if the geometry is loaded (or if it was already loaded), False on failure.
Overrides: GH_GeometricGoo<T>.LoadGeometry
LoadGeometry
#If the text dot is referenced and not yet loaded, attempts to load the text dot.
Parameters:
| doc (RhinoDoc) |
Returns: True if the text dot is loaded (or if it was already loaded), False on failure.
Overrides: GH_GeometricGoo<T>.LoadGeometry
ToString
#Format the text dot using default grasshopper formatting logic.
Overrides: GH_Goo<T>.ToString