Click or drag to resize

Triangle Structure

Represents a double precision triangle in three-dimensional space.

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

The Triangle type exposes the following members.

Constructors
  NameDescription
Public methodTriangle(TriangleF)
Constructs a triangle with another specified TriangleF object.
Public methodTriangle(Vector3, Vector3, Vector3)
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 Triangle.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Triangle, Double)
Determines whether the specified triangle is equal to the current instance of Triangle with a given precision.
Public methodEquals(Triangle, Double)
Determines whether the specified triangle is equal to the current instance of Triangle 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 Triangle.
(Overrides ValueTypeToString.)
Public methodToTriangleF
Converts the current instance of Triangle to the triangle of TriangleF 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