Represents an implementation of a Rhino centermark.
Constructors
GH_Centermark
#Create a duplicate of an existing centermark.
Parameters:
| centermark (Centermark) | Centermark to duplicate |
| style (ModelAnnotationStyle) | Annotation style to use |
GH_Centermark
#Create a duplicate of an existing centermark.
Parameters:
| centermark (Centermark) | Centermark to duplicate |
GH_Centermark
#public GH_Centermark(GH_Centermark other)
Create a duplicate of another GH_Centermark. This constructor also copies reference data.
Parameters:
| other (GH_Centermark) | GH_Centermark to duplicate |
Fields
m_value
protected T m_value
Properties
BoundingBox
Overrides: GH_GeometricGoo<T>.Boundingbox
ClippingBox
Implements: ClippingBox
IsGeometryLoaded
Gets the load state of this annotation object. The annotation is considered to be loaded when the local annotation 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 dimension. If the dimension is referenced but cannot be loaded, then the dimension 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
Overrides
ReferenceID
Overrides: GH_GeometricGoo<T>.ReferenceID
Value
#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.
Overrides: GH_Goo<T>.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_Dimension.CastTo
ClearCaches
public override void ClearCaches()
Clears all volatile caches for this instance. The boundingbox is cleared, and if the annotation is referenced, the local instance of the annotation is erased.
Overrides: GH_GeometricGoo<T>.ClearCaches
DrawViewportMeshes
Parameters:
| args (GH_PreviewMeshArgs) |
Implements: DrawViewportMeshes
DrawViewportWires
Parameters:
| args (GH_PreviewWireArgs) |
Implements: DrawViewportWires
Duplicate
Overrides: GH_GeometricGoo<T>.Duplicate
DuplicateAnnotation
#Create a duplicate of this annotation.
Overrides: GH_AnnotationBase.DuplicateAnnotation
DuplicateGeometry
Create a duplicate of this annotation.
Overrides: GH_GeometricGoo<T>.DuplicateGeometry
EmitProxy
Overrides: GH_AnnotationBase.EmitProxy
GetBoundingBox
Parameters:
| xform (Transform) |
Overrides: GH_GeometricGoo<T>.GetBoundingBox
GetOverrides
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 annotation is referenced and not yet loaded, attempts to load the leader.
Parameters:
| doc (RhinoDoc) |
Returns: True if the annotation is loaded (or if it was already loaded), False on failure.
Overrides: GH_GeometricGoo<T>.LoadGeometry
Parameters:
| xmorph (SpaceMorph) |
Overrides: GH_GeometricGoo<T>.Morph
Parameters:
| reader (GH_IReader) |
Overrides: GH_Goo<T>.Read
ScriptVariable
Overrides: GH_Goo<T>.ScriptVariable
SetOverrides
Parameters:
| style (DimensionStyle) |
ToString
#Format the centermark using default grasshopper formatting logic.
Overrides: GH_AnnotationBase.ToString
Transform
Parameters:
| xform (Transform) |
Overrides: GH_GeometricGoo<T>.Transform
Parameters:
| writer (GH_IWriter) |
Overrides: GH_Goo<T>.Write