# GH_Curve class

Namespace: [Grasshopper.Kernel.Types](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.types.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_Curve : GH_GeometricGoo<Curve>, IGH_BakeAwareData, IGH_PreviewData, IGH_GeometricGoo
```

Represents a 3D spline curve.

## Constructors

- [GH_Curve](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/ctor.md): (5 overloads) Default constructor, creates an invalid curve.

## Properties

- [BoundingBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/boundingbox.md)
- [ClippingBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/clippingbox.md)
- [IsGeometryLoaded](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/isgeometryloaded.md): Gets the load state of this curve object. The curve is considered to be loaded when the local OnCurve instance is not null.
- [IsValid](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/isvalid.md): Gets the validity of this curve. If the curve is referenced but cannot be loaded, the curve is not valid.
- [IsValidWhyNot](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/isvalidwhynot.md): Gets a string describing the state of "invalidness". If the instance is valid, then this property should return Nothing or String.Empty.
- [ReferenceEdge](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/referenceedge.md): Gets or sets the edge index for a referenced curve. If the index >= 0 then an edge reference is implied.
- [ReferenceID](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/referenceid.md)
- [TypeDescription](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/typedescription.md)
- [TypeName](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/typename.md)
- [Value](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/value.md)

## Methods

- [BakeGeometry](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/bakegeometry.md)
- [CastFrom](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/castfrom.md): Remote to Local caster function. This stuff is complex, don't concern yourself with casting logic.
- [CastTo<T>](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/castto.md): Local to Remote caster function. This stuff is complex, don't concern yourself with casting logic.
- [ClearCaches](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/clearcaches.md): 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.
- [DrawViewportMeshes](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/drawviewportmeshes.md)
- [DrawViewportWires](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/drawviewportwires.md)
- [Duplicate](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/duplicate.md)
- [DuplicateCurve](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/duplicatecurve.md): Create a duplicate of this curve.
- [DuplicateGeometry](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/duplicategeometry.md): Create a duplicate of this curve.
- [EmitProxy](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/emitproxy.md): Returns a proxy that represents this curve. Do not call this function unless you're
- [GetBoundingBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/getboundingbox.md)
- [LoadGeometry](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/loadgeometry.md): (2 overloads) If the geometry is referenced and not yet loaded, attempts to load the geometry.
- [MakeDeformable](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/makedeformable.md): Converts the local geometry into deformable nurbs curve geometry. This method will not destroy Reference data.
- [Morph](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/morph.md)
- [Read](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/read.md)
- [ScriptVariable](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/scriptvariable.md)
- [ToString](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/tostring.md): Format the curve using default grasshopper formatting logic.
- [Transform](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/transform.md)
- [Write](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-curve/write.md)

## Inherited Members

- From [GH_GeometricGoo<T>](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-geometricgoo-1.md): [IsReferencedGeometry](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-geometricgoo-1/isreferencedgeometry.md)
- From [GH_Goo<T>](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-goo-1.md): [m_value](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-goo-1/m-value.md), [CastTo<Q>](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-goo-1/castto.md)
