The XYPolygon class defines a polygon in the XY plane (no z coordinate)
/// ///The XYPolygon class has a number of usefull methods and XYPolygon objects /// are used as argument in a number of the methods in the RTCTools.OpenMI.Sdk.Spatial /// namespace.
/// ///The XYPolygon class is inhereted from the org.OpenMI.Utilities.BackBone.Element class.
/// ///It is possible to upcaste the XYPoint objects to Element objects.
/// ///If you already have a Element object that defines a polygon you can construct /// a new XYPoint using the Element objects as argument in the constructor.
/// ///i: Index for the "midlle" point of triangle that forms an ear. /// The ear is formed by P(i-1), P(i) and P(i+1), where P are points /// included in the polygon.
///true: If the triangle P(i-1), P(i), P(i+1) is intersected by other parts of Polygon
///false: otherwise
///True if angle at the i´th point is convex.
///False if angle at the i´th point is concave.
///