Triangle tutorialΒΆ
Triangle is expressed by irfpy.util.triangle.Triangle
class.
Triangle can be instance by specifying three point.
>>> from irfpy.util.triangle.Triangle import Triangle
>>> t = Triangle([3, 2, 1], [-2, 3, 5], [4, 8,3])
The area can be calculated by irfpy.util.triangle.Triangle.getArea()
method.