Back to top OpenSVG (c) Veridict AB, www.veridict.com
Edit this page

Class PointCollectionExtensions

Provides extension methods for working with collections of Vector2 objects.

Inheritance
object
PointCollectionExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenSvg
Assembly: OpenSvg.dll
Syntax
public static class PointCollectionExtensions

Methods

| Edit this page View Source

Max(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.

| Edit this page View Source

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.