# LengthGoal class

Namespace: [Grasshopper2.Types.Constraints.Goals](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.constraints.goals.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class LengthGoal : GoalWithValue
```

Edge length constraint.

## Constructors

- [LengthGoal](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.goals.lengthgoal/ctor.md)

## Methods

- [Apply](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.goals.lengthgoal/apply.md)
- [WithValue](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.goals.lengthgoal/withvalue.md)

## Inherited Members

- From [GoalWithValue](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.goals.goalwithvalue.md): [Value](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.goals.goalwithvalue/value.md), [ResolveCoordinate](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.goals.goalwithvalue/resolvecoordinate.md), [ResolveNumber](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.goals.goalwithvalue/resolvenumber.md)
- From [Goal](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.goals.goal.md): [_edges](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.goals.goal/edges.md), [EdgeCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.goals.goal/edgecount.md), [Icon](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.goals.goal/icon.md), [Id](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.goals.goal/id.md), [Nomen](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.goals.goal/nomen.md), [DependsOnId](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.goals.goal/dependsonid.md), [Edge](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.goals.goal/edge.md), [RemoveReferents](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.goals.goal/removereferents.md)
