Click or drag to resize

Triangle2 Structure

Represents a double precision triangle in two-dimensional space.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2022.1.1.0 (2022.1.1.0)
Syntax
C#
public struct Triangle2

The Triangle2 type exposes the following members.

Constructors
  NameDescription
Public methodTriangle2(Triangle2F)
Constructs a triangle with another specified Triangle2F object.
Public methodTriangle2(Vector2, Vector2, Vector2)
Constructs a triangle with the given A, B and C components.
Top
Properties
  NameDescription
Public propertyItem
Gets or sets the component at the specified index.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current instance of Triangle2.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Triangle2, Double)
Determines whether the specified triangle is equal to the current instance of Triangle2 with a given precision.
Public methodEquals(Triangle2, Double)
Determines whether the specified triangle is equal to the current instance of Triangle2 with a given precision.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current instance of Triangle2.
(Overrides ValueTypeToString.)
Public methodToTriangle2F
Converts the current instance of Triangle2 to the triangle of Triangle2F format.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether two given triangles are equal.
Public operatorStatic memberInequality
Determines whether two given triangles are unequal.
Top
Fields
  NameDescription
Public fieldA
The A corner point of the triangle.
Public fieldB
The B corner point of the triangle.
Public fieldC
The C corner point of the triangle.
Top
Extension Methods
See Also