Show / Hide Table of Contents

Class MyCuboid

Inheritance
System.Object
MyCuboid
Namespace: VRageMath
Assembly: VRage.Math.dll
Syntax
public class MyCuboid : Object

Constructors

MyCuboid()

Declaration
public MyCuboid()

Fields

Sides

Declaration
public MyCuboidSide[] Sides
Field Value
Type Description
MyCuboidSide[]

Properties

UniqueLines

Declaration
public IEnumerable<Line> UniqueLines { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Line>

Vertices

Declaration
public IEnumerable<Vector3> Vertices { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Vector3>

Methods

CreateFromSizes(Single, Single, Single, Single, Single)

Declaration
public void CreateFromSizes(float width1, float depth1, float width2, float depth2, float length)
Parameters
Type Name Description
System.Single width1
System.Single depth1
System.Single width2
System.Single depth2
System.Single length

CreateFromVertices(Vector3[])

Declaration
public void CreateFromVertices(Vector3[] vertices)
Parameters
Type Name Description
Vector3[] vertices

CreateTransformed(ref Matrix)

Declaration
public MyCuboid CreateTransformed(ref Matrix worldMatrix)
Parameters
Type Name Description
Matrix worldMatrix
Returns
Type Description
MyCuboid

GetAABB()

Declaration
public BoundingBox GetAABB()
Returns
Type Description
BoundingBox

GetLocalAABB()

Declaration
public BoundingBox GetLocalAABB()
Returns
Type Description
BoundingBox
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾