Angulos
Loading...
Searching...
No Matches
Angulos._3d.ObjectRepresentation.Shapes.Triangle2D Class Reference

Represents a 2D triangle Triangle3D represents a 3D triangle. More...

Public Member Functions

 Triangle2D (Vector2 v1, Vector2 v2, Vector2 v3)

Static Public Member Functions

static bool IsPointInsideCircumcircle (Vector2 point, Triangle2D tri)
 Checks if a point is inside the triangle's circumcircle (its farthest boundary from its center).
static bool HasVertex (Vector2 vertex, Triangle2D triangle)
static Triangle2D[] TriangleDistinct (Triangle2D[] triangles)

Properties

Vector2 Vertex1 [get, set]
Vector2 Vertex2 [get, set]
Vector2 Vertex3 [get, set]
LineSegment2D[] Edges [get, set]

Detailed Description

Represents a 2D triangle Triangle3D represents a 3D triangle.

Member Function Documentation

◆ IsPointInsideCircumcircle()

bool Angulos._3d.ObjectRepresentation.Shapes.Triangle2D.IsPointInsideCircumcircle ( Vector2 point,
Triangle2D tri )
inlinestatic

Checks if a point is inside the triangle's circumcircle (its farthest boundary from its center).

Parameters
point
tri
Returns

The documentation for this class was generated from the following file:
  • Sharp/_3d/ObjectRepresentation/Shapes/Triangle2D.cs