Triangle3d
Triangle3d
- vertices : [glam::Vec3; 3]
Description
A 3D triangle primitive.
Functions
Function | Summary |
---|---|
centroid(_self) | Get the centroid of the triangle. This function finds the geometric center of the triangle by aver |
circumcenter(_self) | Get the circumcenter of the triangle. |
clone(_self) | No Documentation 🚧 |
eq(_self, other) | No Documentation 🚧 |
is_acute(_self) | Checks if the triangle is acute, meaning all angles are less than 90 degrees |
is_degenerate(_self) | Checks if the triangle is degenerate, meaning it has zero area. A triangle is degenerate if the cr |
is_obtuse(_self) | Checks if the triangle is obtuse, meaning one angle is greater than 90 degrees |
new(a, b, c) | Create a new [`Triangle3d`] from points `a`, `b`, and `c`. |
reverse(_self) | Reverse the triangle by swapping the first and last vertices. |
reversed(_self) | This triangle but reversed. |