Triangle3d
ReferencesRepresents a triangle, modeled using double three points that use double-precision floating point numbers.
Constructors
Properties
Gets the bounding box of this triangle.
Gets the perimeter of this triangle. This is the sum of the lengths of all edges.
Gets the perpendicular bisector for edge AB.
Gets the perpendicular bisector for edge BC.
Methods
Gets the projection of a point onto the barycentric coordinates.
Returns: The computed barycentric mass values relating to B and C for point.
Gets the parameter on the triangle boundary closest to a test point.
Gets the point on the triangle boundary closest to a test point.
Gets the point along the boundary of the triangle. The triangle boundary has a domain [0, 3] where each subsequent unit domain maps to a different edge.
Gets a point within this triangle using barycentric coordinates.
Returns: Point at barycentric mass.
Gets the point on the triangle using the AB and AC primary axes.
Returns: Point at parameter.
Attempt to create the smallest triangle containing a set of planar points.
public static bool TrySmallestEnclosingTriangle()
points,
The points to enclose.
tolerance,
The tolerance to use
out Triangle3d
triangle
The resulting triangle on success.
Returns: true on success, false on failure.