Public Member Functions

IEnumerable< PointAllPoints ()
 

Public Attributes

readonly Point TopLeft
 
readonly Point TopRight
 
readonly Point BottomLeft
 
readonly Point BottomRight
 

Detailed Description

An arbitrary 2D quadrilateral with integer vertex coordinates.

Member Function Documentation

IEnumerable<Point> AllPoints ( )

Enumerable for all corner points.

Returns
All points ordered as TopLeft, TopRight, BottomRight, BottomLeft

Member Data Documentation

readonly Point TopLeft

Top-Left corner of the quadrilateral

readonly Point TopRight

Top-right corner of the quadrilateral

readonly Point BottomLeft

Bottom-Left corner of the quadrilateral

readonly Point BottomRight

Bottom-right corner of the quadrilateral