Click or drag to resize

TriangleF 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 TriangleF

The TriangleF type exposes the following members.

Constructors
  NameDescription
Public methodTriangleF(Triangle)
Constructs a triangle with another specified Triangle object.
Public methodTriangleF(Vector3F, Vector3F, Vector3F)
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 TriangleF.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(TriangleF, Single)
Determines whether the specified triangle is equal to the current instance of TriangleF with a given precision.
Public methodEquals(TriangleF, Single)
Determines whether the specified triangle is equal to the current instance of TriangleF 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 methodIntersects(BoundsF)
Public methodIntersects(BoundsF)
Public methodToString
Returns a String that represents the current instance of TriangleF.
(Overrides ValueTypeToString.)
Public methodToTriangle
Converts the current instance of TriangleF 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