Click or drag to resize

Triangle2 Structure

Represents a double precision triangle in two-dimensional space.
Inheritance Hierarchy
SystemObject
  SystemValueType
    NeoAxisTriangle2

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.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 methodGetTypeGets 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(Triangle2, Triangle2) Determines whether two given triangles are equal.
Public operatorStatic memberInequality(Triangle2, Triangle2) 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
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also