public class GH_Curve : GH_GeometricGoo<Curve>, IGH_BakeAwareData, IGH_PreviewData, IGH_GeometricGoo
Represents a 3D spline curve.
Constructors
Fields
m_value
protected T m_value
Properties
IsGeometryLoaded
#Gets the load state of this curve object. The curve is considered to be loaded when the local OnCurve 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 curve. If the curve is referenced but cannot be loaded, the curve 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
ReferenceEdge
#Gets or sets the edge index for a referenced curve. If the index >= 0 then an edge reference is implied.
Remarks: If an edge reference is implied, then the ReferenceID must point to a RhinoBrepObject.
Methods
CastFrom
#Remote to Local caster function. This stuff is complex, don't concern yourself with casting logic.
Overrides: GH_GeometricGoo<T>.CastFrom
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
CastTo<T>
#Local to Remote caster function. This stuff is complex, don't concern yourself with casting logic.
Overrides: GH_GeometricGoo<T>.CastTo
ClearCaches
#Clears all volatile caches for this instance. The boundingbox is cleared, and if the curve is referenced, the local instance of the curve is erased.
public override void ClearCaches()
Overrides: GH_GeometricGoo<T>.ClearCaches
EmitProxy
#Returns a proxy that represents this curve. Do not call this function unless you're
Overrides: GH_GeometricGoo<T>.EmitProxy
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 curve is referenced and not yet loaded, attempts to load the curve.
Returns: True if the curve is loaded (or if it was already loaded), False on failure.
Overrides: GH_GeometricGoo<T>.LoadGeometry
MakeDeformable
#Converts the local geometry into deformable nurbs curve geometry. This method will not destroy Reference data.