Click or drag to resize

Triangle2F Structure

Represents a single precision triangle in three-dimensional space.

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

The Triangle2F type exposes the following members.

Constructors
  NameDescription
Public methodTriangle2F(Triangle2)
Constructs a triangle with another specified Triangle object.
Public methodTriangle2F(Vector2F, Vector2F, Vector2F)
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 Triangle2F.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Triangle2F, Single)
Determines whether the specified triangle is equal to the current instance of Triangle2F with a given precision.
Public methodEquals(Triangle2F, Single)
Determines whether the specified triangle is equal to the current instance of Triangle2F 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 Triangle2F.
(Overrides ValueTypeToString.)
Public methodToTriangle
Converts the current instance of Triangle2F to the triangle of Triangle 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