toMutableRegularTriangleOrNull

Creates a new instance of MutableRegularTriangle from this regular polygon if the sideCount is equal to 3, otherwise returns null.