Table of Contents

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

TriangleOwnedHandle

Methods

Alloc()

[Version("1.2")]
public static Triangle Alloc()

Returns

Triangle

ContainsPoint(Point3D)

[Version("1.2")]
public bool ContainsPoint(Point3D p)

Parameters

p Point3D

Returns

bool

Equal(Triangle)

[Version("1.2")]
public bool Equal(Triangle b)

Parameters

b Triangle

Returns

bool

Equals(Triangle?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Triangle? other)

Parameters

other Triangle

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Free()

[Version("1.2")]
public void Free()

GetArea()

[Version("1.2")]
public float GetArea()

Returns

float

GetGType()

public static Type GetGType()

Returns

Type

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

a Point3D
b Point3D
c Point3D

Returns

Triangle

InitFromVec3(Vec3?, Vec3?, Vec3?)

[Version("1.2")]
public Triangle InitFromVec3(Vec3? a, Vec3? b, Vec3? c)

Parameters

a Vec3
b Vec3
c Vec3

Returns

Triangle