Table of Contents

Class Point3D

Namespace
Graphene
Assembly
Graphene-1.0.dll
public sealed class Point3D : BoxedRecord, IEquatable<Point3D>
Inheritance
Point3D
Implements
Inherited Members

Constructors

Point3D()

public Point3D()

Point3D(Point3DOwnedHandle)

public Point3D(Point3DOwnedHandle handle)

Parameters

handle Point3DOwnedHandle

Properties

Handle

public Point3DOwnedHandle Handle { get; }

Property Value

Point3DOwnedHandle

X

public float X { get; set; }

Property Value

float

Y

public float Y { get; set; }

Property Value

float

Z

public float Z { get; set; }

Property Value

float

Methods

Alloc()

[Version("1.0")]
public static Point3D Alloc()

Returns

Point3D

Dot(Point3D)

[Version("1.0")]
public float Dot(Point3D b)

Parameters

b Point3D

Returns

float

Equal(Point3D)

[Version("1.0")]
public bool Equal(Point3D b)

Parameters

b Point3D

Returns

bool

Equals(Point3D?)

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

public bool Equals(Point3D? other)

Parameters

other Point3D

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.0")]
public void Free()

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.

Init(float, float, float)

[Version("1.0")]
public Point3D Init(float x, float y, float z)

Parameters

x float
y float
z float

Returns

Point3D

InitFromPoint(Point3D)

[Version("1.0")]
public Point3D InitFromPoint(Point3D src)

Parameters

src Point3D

Returns

Point3D

InitFromVec3(Vec3)

[Version("1.0")]
public Point3D InitFromVec3(Vec3 v)

Parameters

v Vec3

Returns

Point3D

Length()

[Version("1.0")]
public float Length()

Returns

float

Near(Point3D, float)

[Version("1.0")]
public bool Near(Point3D b, float epsilon)

Parameters

b Point3D
epsilon float

Returns

bool

Zero()

[Version("1.0")]
public static Point3D Zero()

Returns

Point3D