**Utils2D**
class

A collection of utility methods for 2D geometry.

### Static Methods

####
bool **spans**(double value, double bound1, double bound2) #

Returns `true`

if the specified value is spanned by the
two bounds, and `false`

otherwise.

####
num **area2**(Point a, Point b, Point c) #

####
Point **centerPoint**(Point pt0, Point pt1, Point pt2, Point pt3) #

Returns the point at the center of the four specified points.

####
Line2D **createPerpendicularLineByPercent**(Line2D line, num percent, num size, Point opposingPoint) #

Creates a line segment that is perpendicular to line, starting at a point along the line defined by percent, with the specified size, extending in the direction opposite to opposingPoint.

####
Line2D **createPerpendicularLineByPoint**(Line2D line, Point pt1, num size, Point opposingPoint) #

Creates a line segment that is perpendicular to line, starting at a point along the line defined by pt1, with the specified size, extending in the direction opposite to opposingPoint.

####
Dimension2D **findDimension**(List<Point> pts) #

Returns the width and height spanned by the collection of points pts.