public class GH_Curve : GH_GeometricGoo<Curve>, IGH_BakeAwareData, IGH_PreviewData, IGH_GeometricGoo
Represents a 3D spline curve.
Constructors
GH_Curve
#public GH_Curve(GH_Curve other)
Create a duplicate of another GH_Curve. This constructor also copies reference data.
Parameters:
| other (GH_Curve) | Curve to duplicate |
GH_Curve
#Create a new references edge curve that references an edge index in a Rhino Brep object.
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
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 curve is referenced, the local instance of the curve is erased.
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.
Parameters:
| doc (RhinoDoc) |
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.