Show / Hide Table of Contents

Struct OBBf

Represents an oriented bounding box.

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Fusee.Math.Core
Assembly: Fusee.Math.Core.dll
Syntax
public struct OBBf

Constructors

OBBf(float3[])

Generates a new oriented bounding box from a given set of vertices or points

Declaration
public OBBf(float3[] vertices)
Parameters
Type Name Description
float3[] vertices

Fields

Max

The maximum values of the oriented bounding box in x, y and z direction

Declaration
public float3 Max
Field Value
Type Description
float3

Min

The minimum values of the oriented bounding box in x, y and z direction

Declaration
public float3 Min
Field Value
Type Description
float3

Rotation

The rotation of the oriented bounding box

Declaration
public float4x4 Rotation
Field Value
Type Description
float4x4

Size

Returns the with, height and depth of the box in x, y and z

Declaration
public float3 Size
Field Value
Type Description
float3

Translation

The translation of the oriented bounding box

Declaration
public float3 Translation
Field Value
Type Description
float3

Properties

Center

Returns the center of the bounding box

Declaration
public readonly float3 Center { get; }
Property Value
Type Description
float3

EulerRotation

Returns the rotation as euler angles

Declaration
public readonly float3 EulerRotation { get; }
Property Value
Type Description
float3
Generated by DocFX
GitHub Repo
Back to top