'The medial triangle of the triangle.
The triangle which is formed from the midpoints of the three sides.
Returns
medial : Triangle
See Also
sympy.geometry.line.Segment.midpoint
Examples
>>> from sympy.geometry import Point, Triangle
>>> p1, p2, p3 = Point(0, 0), Point(1, 0), Point(0, 1)
>>> t = Triangle(p1, p2, p3)
>>> t.medial
Triangle(Point2D(1/2, 0), Point2D(1/2, 1/2), Point2D(0, 1/2))'

@property
def medial(self):

    s = self.sides
    return Triangle(s[0].midpoint, s[1].midpoint, s[2].midpoint)
