Table of Contents

Class Box

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

Constructors

Box()

public Box()

Box(BoxOwnedHandle)

public Box(BoxOwnedHandle handle)

Parameters

handle BoxOwnedHandle

Properties

Handle

public BoxOwnedHandle Handle { get; }

Property Value

BoxOwnedHandle

Methods

Alloc()

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

Returns

Box

ContainsBox(Box)

[Version("1.2")]
public bool ContainsBox(Box b)

Parameters

b Box

Returns

bool

ContainsPoint(Point3D)

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

Parameters

point Point3D

Returns

bool

Empty()

[Version("1.2")]
public static Box Empty()

Returns

Box

Equal(Box)

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

Parameters

b Box

Returns

bool

Equals(Box?)

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

public bool Equals(Box? other)

Parameters

other Box

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()

GetDepth()

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

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.

GetHeight()

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

Returns

float

GetWidth()

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

Returns

float

Infinite()

[Version("1.2")]
public static Box Infinite()

Returns

Box

Init(Point3D?, Point3D?)

[Version("1.2")]
public Box Init(Point3D? min, Point3D? max)

Parameters

min Point3D
max Point3D

Returns

Box

InitFromBox(Box)

[Version("1.2")]
public Box InitFromBox(Box src)

Parameters

src Box

Returns

Box

InitFromPoints(Point3D[])

[Version("1.2")]
public Box InitFromPoints(Point3D[] points)

Parameters

points Point3D[]

Returns

Box

InitFromVec3(Vec3?, Vec3?)

[Version("1.2")]
public Box InitFromVec3(Vec3? min, Vec3? max)

Parameters

min Vec3
max Vec3

Returns

Box

InitFromVectors(Vec3[])

[Version("1.2")]
public Box InitFromVectors(Vec3[] vectors)

Parameters

vectors Vec3[]

Returns

Box

MinusOne()

[Version("1.2")]
public static Box MinusOne()

Returns

Box

One()

[Version("1.2")]
public static Box One()

Returns

Box

OneMinusOne()

[Version("1.2")]
public static Box OneMinusOne()

Returns

Box

Zero()

[Version("1.2")]
public static Box Zero()

Returns

Box