fromCentroid
fun fromCentroid(centroid: Vector2, radius: Double, theta: Double = 60.0, rotation: Double = 0.0): Triangle(source)
Creates a triangle from a centroid based on the circumradius radius
Return
Parameters
centroid
radius
theta
angle of one of the vertices -> equilateral if theta = 60.0 and isosceles otherwise
rotation