Class Triangle
- Namespace
- Graphene
- Assembly
- Graphene-1.0.dll
public sealed class Triangle : BoxedRecord, IEquatable<Triangle>
- Inheritance
-
Triangle
- Implements
- Inherited Members
Constructors
Triangle()
public Triangle()
Triangle(TriangleOwnedHandle)
public Triangle(TriangleOwnedHandle handle)
Parameters
handle
TriangleOwnedHandle
Properties
Handle
public TriangleOwnedHandle Handle { get; }
Property Value
Methods
Alloc()
[Version("1.2")]
public static Triangle Alloc()
Returns
ContainsPoint(Point3D)
[Version("1.2")]
public bool ContainsPoint(Point3D p)
Parameters
p
Point3D
Returns
Equal(Triangle)
[Version("1.2")]
public bool Equal(Triangle b)
Parameters
b
Triangle
Returns
Equals(Triangle?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Triangle? other)
Parameters
other
TriangleAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Free()
[Version("1.2")]
public void Free()
GetArea()
[Version("1.2")]
public float GetArea()
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
InitFromPoint3d(Point3D?, Point3D?, Point3D?)
[Version("1.2")]
public Triangle InitFromPoint3d(Point3D? a, Point3D? b, Point3D? c)
Parameters
Returns
InitFromVec3(Vec3?, Vec3?, Vec3?)
[Version("1.2")]
public Triangle InitFromVec3(Vec3? a, Vec3? b, Vec3? c)