[]
Represents a triangle defined by its three vertices.
public struct Triangle : IEquatable<Triangle>
Initializes a new instance of the Triangle struct from its three vertices.
public Triangle(PointF a, PointF b, PointF c)
a
System.Drawing.PointFThe triangle's first vertex.
b
System.Drawing.PointFThe triangle's second vertex.
c
System.Drawing.PointFThe triangle's third vertex.
The first vertex of the triangle.
public PointF A { get; set; }
The second vertex of the triangle.
public PointF B { get; set; }
The third vertex of the triangle.
public PointF C { get; set; }
public bool Equals(Triangle other)
other
Trianglepublic override bool Equals(object obj)
obj
objectpublic override int GetHashCode()
Tests whether two specified Triangle objects are equivalent.
public static bool operator ==(Triangle v1, Triangle v2)
Tests whether two specified Line objects are not equivalent.
public static bool operator !=(Triangle v1, Triangle v2)