public override double Area() { GetArea?.Invoke(); return(Math.Abs((Points[0].X - Points[2].X) * (Points[1].Y - Points[2].Y) - (Points[1].X - Points[2].X) * (Points[0].Y - Points[2].Y)) / 2); }
public override double Area() { GetArea?.Invoke(); return(Math.Round(Height() * Width(), 2)); }
public override double Area() { GetArea?.Invoke(this, null); return(Math.Round(Width() * Width(), 2)); }