# Maths.AbstractSearch<T> class

Namespace: [Grasshopper2](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public abstract class Maths.AbstractSearch<T>
```

Utility class for performing extreme searches.

**Type parameters:**

- `T`: Type of object.

**Derived types:** [Maths.MaximumSearch<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.maximumsearch-1.md), [Maths.MinimumSearch<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.minimumsearch-1.md)

## Constructors

- [Maths.AbstractSearch<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.abstractsearch-1/ctor.md): (2 overloads) Create a new near search with initial constraints.

## Properties

- [Boundary](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.abstractsearch-1/boundary.md): Gets the boundary value associated with the current instance.
- [HasInstance](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.abstractsearch-1/hasinstance.md): Gets whether an object has been found.
- [Instance](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.abstractsearch-1/instance.md): Gets the found instance.
- [Range](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.abstractsearch-1/range.md): Gets the range within which values are considered.

## Methods

- [Consider](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.abstractsearch-1/consider.md): consider a new distance/value pair.
- [Improves](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.abstractsearch-1/improves.md): Test for improvement.

## Convertors

- [operator implicit](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.abstractsearch-1/op-implicit.md): (static) Convert the search to the instance.
