Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.BoundingFrustumD

Morten Aune Lyrstad edited this page Apr 16, 2022 · 51 revisions

IndexNamespace Index

BoundingFrustumD Class

public class BoundingFrustumD: IEquatable<BoundingFrustumD>

Defines a frustum and helps determine whether forms intersect with it.

Namespace: VRageMath
Assembly: VRage.Math.dll

Implements:

Fields

static int CornerCount

Specifies the total number of corners (8) in the BoundingFrustumD.

Properties

PlaneD Bottom { get; }

Gets the bottom plane of the BoundingFrustumD.

PlaneD Far { get; }

Gets the far plane of the BoundingFrustumD.

PlaneD Item { get; }

PlaneD Left { get; }

Gets the left plane of the BoundingFrustumD.

MatrixD Matrix { get; set; }

Gets or sets the Matrix that describes this bounding frustum.

PlaneD Near { get; }

Gets the near plane of the BoundingFrustumD.

PlaneD Right { get; }

Gets the right plane of the BoundingFrustumD.

PlaneD Top { get; }

Gets the top plane of the BoundingFrustumD.

Constructors

BoundingFrustumD()

BoundingFrustumD(MatrixD value)

Methods

ContainmentType Contains(BoundingBoxD box)

Checks whether the current BoundingFrustumD contains the specified BoundingBoxD.

void Contains(ref BoundingBoxD box, out ContainmentType result)

Checks whether the current BoundingFrustumD contains the specified BoundingBoxD.

ContainmentType Contains(BoundingFrustumD frustum)

Checks whether the current BoundingFrustumD contains the specified BoundingFrustumD.

ContainmentType Contains(Vector3D point)

Checks whether the current BoundingFrustumD contains the specified point.

void Contains(ref Vector3D point, out ContainmentType result)

Checks whether the current BoundingFrustumD contains the specified point.

ContainmentType Contains(BoundingSphereD sphere)

Checks whether the current BoundingFrustumD contains the specified BoundingSphere.

void Contains(ref BoundingSphereD sphere, out ContainmentType result)

Checks whether the current BoundingFrustumD contains the specified BoundingSphere.

bool Equals(BoundingFrustumD other)

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

bool Equals(object obj)

Determines whether the specified Object is equal to the BoundingFrustumD.

Vector3D&#91] GetCorners()

Gets an array of points that make up the corners of the BoundingFrustumD. ALLOCATION!

void GetCorners(Vector3D&#91] corners)

Gets an array of points that make up the corners of the BoundingFrustumD.

void GetCornersUnsafe(*Vector3D corners)

int GetHashCode()

Gets the hash code for this instance.

bool Intersects(BoundingBoxD box)

Checks whether the current BoundingFrustumD intersects the specified BoundingBoxD.

void Intersects(ref BoundingBoxD box, out bool result)

Checks whether the current BoundingFrustumD intersects a BoundingBoxD.

bool Intersects(BoundingFrustumD frustum)

Checks whether the current BoundingFrustumD intersects the specified BoundingFrustumD.

PlaneIntersectionType Intersects(PlaneD plane)

Checks whether the current BoundingFrustumD intersects the specified Plane.

void Intersects(ref PlaneD plane, out PlaneIntersectionType result)

Checks whether the current BoundingFrustumD intersects a Plane.

double? Intersects(RayD ray)

Checks whether the current BoundingFrustumD intersects the specified Ray.

void Intersects(ref RayD ray, out double? result)

Checks whether the current BoundingFrustumD intersects a Ray.

bool Intersects(BoundingSphereD sphere)

Checks whether the current BoundingFrustumD intersects the specified BoundingSphere.

void Intersects(ref BoundingSphereD sphere, out bool result)

Checks whether the current BoundingFrustumD intersects a BoundingSphere.

string ToString()

Returns a String that represents the current BoundingFrustumD.

Clone this wiki locally