Triangle
Represents a transformable triangle in a two-dimensional Euclidean space.
Implementations that use default-implemented members of this interface must make sure that the properties centroid, orientation, originPointA, originPointB, originPointC and the copy method are independent of other members and the computational complexity of these members is trivial.
Inheritors
Properties
Returns the circumcenter of this triangle. Circumcenter is the intersection point of the perpendicular bisectors of the triangle's sides. Circumcenter is the center of the triangle's circumscribed circle.
Returns the orientation of this object in reference to the origin of ComplexF.ONE.
Returns the point A in reference to the triangle's centroid and orientation of ComplexF.ONE.
Returns the point B in reference to the triangle's centroid and orientation of ComplexF.ONE.
Returns the point C in reference to the triangle's centroid and orientation of ComplexF.ONE.
Returns the orthocenter of this triangle. Orthocenter is the intersection point of the triangle's altitudes.
Returns the position of this object in reference to the origin of Vector2F.ZERO.
Returns the side length between points A and B of this triangle.
Returns the side length between points A and C of this triangle.
Returns the side length between points B and C of this triangle.
Functions
Returns the closest point on this triangle to the given point.
Returns the centroid of this triangle.
Returns the orientation of this triangle.
Returns the originPointA of this triangle.
Returns the originPointB of this triangle.
Returns the originPointC of this triangle.
Returns a copy of this instance with specified properties changed.
Returns true if this triangle intersects the given ray.
Returns a copy of this object that is moved by a displacement.
Creates an iterator over the origin points of this triangle.
Creates an iterator over the points of this triangle.
Returns a copy of this object that is rotated around the point to the orientation.
Returns a copy of this object that is moved by a displacement and rotated by a rotation.
Returns a copy of this object that is moved by a displacement, rotated by a rotation, and scaled by a scaleFactor.
Returns a copy of this object that is moved to the position and rotated to the orientation.