# HorizontalGoal 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 HorizontalGoal : Goal
```

Horizontal constraint. Applies to lines and arcs.

## Constructors

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

## Methods

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

## Inherited Members

- 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)
