Search Results for

    Show / Hide Table of Contents

    Struct AABB

    Integer axis aligned bounding box

    Assembly: FlaxEngine.dll
    File: Engine/Core/Math/AABB.h
    Syntax
    public struct AABB

    Constructors

    AABB()

    Declaration
    public AABB()

    AABB(const AABB& other)

    Declaration
    public AABB(const AABB& other)
    Parameters
    AABB other

    AABB(float minX, float minY, float minZ, float maxX, float maxY, float maxZ)

    Declaration
    public AABB(float minX, float minY, float minZ, float maxX, float maxY, float maxZ)
    Parameters
    float minX

    float minY

    float minZ

    float maxX

    float maxY

    float maxZ

    Fields

    MaxX

    Declaration
    public int32 MaxX
    Field Value
    int32

    MaxY

    Declaration
    public int32 MaxY
    Field Value
    int32

    MaxZ

    Declaration
    public int32 MaxZ
    Field Value
    int32

    MinX

    Declaration
    public int32 MinX
    Field Value
    int32

    MinY

    Declaration
    public int32 MinY
    Field Value
    int32

    MinZ

    Declaration
    public int32 MinZ
    Field Value
    int32

    Methods

    Add(const AABB& bounds)

    Declaration
    public void Add(const AABB& bounds)
    Parameters
    AABB bounds

    Add(const Vector3& inCoordinate)

    Declaration
    public void Add(const Vector3& inCoordinate)
    Parameters
    Vector3 inCoordinate

    Add(Real inX, Real inY, Real inZ)

    Declaration
    public void Add(Real inX, Real inY, Real inZ)
    Parameters
    Real inX

    Real inY

    Real inZ

    Clear()

    Declaration
    public void Clear()

    Depth()

    Declaration
    public int32 Depth() const
    Returns
    int32

    Height()

    Declaration
    public int32 Height() const
    Returns
    int32

    IsEmpty()

    Declaration
    public bool IsEmpty() const
    Returns
    bool

    IsOutside(const AABB& left, const AABB& right)

    Declaration
    public static bool IsOutside(const AABB& left, const AABB& right)
    Parameters
    AABB left

    AABB right

    Returns
    bool

    IsOutside(const AABB& other)

    Declaration
    public bool IsOutside(const AABB& other) const
    Parameters
    AABB other

    Returns
    bool

    Set(const AABB& bounds)

    Declaration
    public void Set(const AABB& bounds)
    Parameters
    AABB bounds

    Set(const AABB& other, const Vector3& translation)

    Declaration
    public void Set(const AABB& other, const Vector3& translation)
    Parameters
    AABB other

    Vector3 translation

    Translate(const Vector3& translation)

    Declaration
    public void Translate(const Vector3& translation)
    Parameters
    Vector3 translation

    Translate(int32 X, int32 Y, int32 Z)

    Declaration
    public void Translate(int32 X, int32 Y, int32 Z)
    Parameters
    int32 X

    int32 Y

    int32 Z

    Translated(const Vector3& translation)

    Declaration
    public AABB Translated(const Vector3& translation) const
    Parameters
    Vector3 translation

    Returns
    AABB

    Width()

    Declaration
    public int32 Width() const
    Returns
    int32

    X()

    Declaration
    public int32 X() const
    Returns
    int32

    Y()

    Declaration
    public int32 Y() const
    Returns
    int32

    Z()

    Declaration
    public int32 Z() const
    Returns
    int32

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat