Class Point3D
- Namespace
- Graphene
- Assembly
- Graphene-1.0.dll
public sealed class Point3D : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<Point3D>, IDisposable
- Inheritance
-
Point3D
- Implements
- Inherited Members
Constructors
Point3D()
public Point3D()
Point3D(Point3DOwnedHandle)
public Point3D(Point3DOwnedHandle handle)
Parameters
handlePoint3DOwnedHandle
Properties
Handle
public Point3DOwnedHandle Handle { get; }
Property Value
X
public float X { get; set; }
Property Value
Y
public float Y { get; set; }
Property Value
Z
public float Z { get; set; }
Property Value
Methods
Alloc()
[Version("1.0")]
public static Point3D Alloc()
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Dot(Point3D)
[Version("1.0")]
public float Dot(Point3D b)
Parameters
bPoint3D
Returns
Equal(Point3D)
[Version("1.0")]
public bool Equal(Point3D b)
Parameters
bPoint3D
Returns
Equals(Point3D?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Point3D? other)
Parameters
otherPoint3DAn 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
objobjectThe object to compare with the current object.
Returns
Free()
[Version("1.0")]
public void Free()
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.
Init(float, float, float)
[Version("1.0")]
public Point3D Init(float x, float y, float z)
Parameters
Returns
InitFromPoint(Point3D)
[Version("1.0")]
public Point3D InitFromPoint(Point3D src)
Parameters
srcPoint3D
Returns
InitFromVec3(Vec3)
[Version("1.0")]
public Point3D InitFromVec3(Vec3 v)
Parameters
vVec3
Returns
Length()
[Version("1.0")]
public float Length()
Returns
Near(Point3D, float)
[Version("1.0")]
public bool Near(Point3D b, float epsilon)
Parameters
Returns
Zero()
[Version("1.0")]
public static Point3D Zero()