Represents an implementation of a Rhino radial dimension.

Constructors

GH_RadialDimension

#
Default constructor, creates an invalid radial dimension.
public GH_RadialDimension()

GH_RadialDimension

#
Create a duplicate of another GH_RadialDimension. This constructor also copies reference data.
public GH_RadialDimension(
GH_RadialDimension
other
GH_RadialDimension to duplicate
)

GH_RadialDimension

#
Create a new referenced radial dimension that references a Rhino dimension with the specified ID.
public GH_RadialDimension(
ref_guid
ID of dimension object to reference.
)

GH_RadialDimension

#
Create a duplicate of an existing radial dimension.
public GH_RadialDimension(
dimension,
Radial dimension to duplicate
style
Annotation style to use
)

GH_RadialDimension

#
Create a duplicate of an existing radial dimension.
public GH_RadialDimension(
dimension
Radial dimension to duplicate
)

Fields

m_value

protected T m_value
inherited fromGH_Goo<T>

Properties

BoundingBox

public override BoundingBox BoundingBox { get; }
inherited fromGH_AnnotationBase

ClippingBox

public BoundingBox ClippingBox { get; }
inherited fromGH_AnnotationBase
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.
public override bool IsGeometryLoaded { get; }
inherited fromGH_AnnotationBase

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

Gets the validity of this dimension. If the dimension is referenced but cannot be loaded, then the dimension is not valid.
public override bool IsValid { get; }
inherited fromGH_AnnotationBase

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; }
inherited fromGH_AnnotationBase

Overrides

public ModelAnnotationStyle Overrides { get; set; }
inherited fromGH_AnnotationBase

ReferenceID

public override Guid ReferenceID { get; set; }
inherited fromGH_AnnotationBase

TypeDescription

#
public override string TypeDescription { get; }

TypeName

#
public override string TypeName { get; }

Value

#
public RadialDimension Value { get; set; }

ValueType

#
protected override Type ValueType { get; }

Methods

BakeGeometry

public bool BakeGeometry(
doc,
att,
ref Guid
obj_guid
)
inherited fromGH_AnnotationBase
BakeGeometry

CastFrom

#
Remote to Local caster function. This stuff is complex, don't concern yourself with casting logic.
public override bool CastFrom(
source
)

CastTo<Q>

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

CastTo<T>

#
Local to Remote caster function. This stuff is complex, don't concern yourself with casting logic.
public override bool CastTo<T>(
ref T
target
)

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.
public override void ClearCaches()
inherited fromGH_AnnotationBase

DrawViewportMeshes

public void DrawViewportMeshes()
inherited fromGH_AnnotationBase
DrawViewportMeshes

DrawViewportWires

public void DrawViewportWires()
inherited fromGH_AnnotationBase
DrawViewportWires

Duplicate

public override IGH_Goo Duplicate()
inherited fromGH_AnnotationBase

DuplicateAnnotation

#
Create a duplicate of this annotation.
public override GH_AnnotationBase DuplicateAnnotation()

DuplicateGeometry

Create a duplicate of this annotation.
public override IGH_GeometricGoo DuplicateGeometry()
inherited fromGH_AnnotationBase

DuplicateRadialDimension

#
Create a duplicate of this radial dimension.
public GH_RadialDimension DuplicateRadialDimension()

EmitProxy

public override IGH_GooProxy EmitProxy()
inherited fromGH_Dimension

GetBoundingBox

public override BoundingBox GetBoundingBox(
xform
)
inherited fromGH_AnnotationBase

LoadGeometry

If the geometry is referenced and not yet loaded, attempts to load the geometry.
public override bool LoadGeometry()
inherited fromGH_AnnotationBase
True if the geometry is loaded (or if it was already loaded), False on failure.

LoadGeometry

If the annotation is referenced and not yet loaded, attempts to load the leader.
public override bool LoadGeometry()
inherited fromGH_AnnotationBase
True if the annotation is loaded (or if it was already loaded), False on failure.

Read

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

ScriptVariable

public override object ScriptVariable()
inherited fromGH_AnnotationBase

ToString

#
Format the dimension using default grasshopper formatting logic.
public override string ToString()

Transform

public override IGH_GeometricGoo Transform(
Transform
xform
)
inherited fromGH_AnnotationBase

Write

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