Class PointCollectionExtensions
Provides extension methods for working with collections of Vector2 objects.
Inherited Members
Namespace: OpenSvg
Assembly: OpenSvg.dll
Syntax
public static class PointCollectionExtensions
Methods
| Edit this page View SourceMax(IEnumerable<Vector2>)
Returns the maximum Vector2 in the collection using the default Point comparer.
Declaration
public static Vector2 Max(this IEnumerable<Vector2> points)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Vector2> | points | The collection of Vector2 objects. |
Returns
Type | Description |
---|---|
Vector2 | The maximum Vector2 in the collection. |
Min(IEnumerable<Vector2>)
Returns the minimum Vector2 in the collection using the default Point comparer.
Declaration
public static Vector2 Min(this IEnumerable<Vector2> points)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Vector2> | points | The collection of Vector2 objects. |
Returns
Type | Description |
---|---|
Vector2 | The minimum Vector2 in the collection. |