Search Results for

    Show / Hide Table of Contents

    Struct AxisAlignedBox3f

    Implements
    IComparable<AxisAlignedBox3f>
    IEquatable<AxisAlignedBox3f>
    Inherited Members
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: g3
    Assembly: cs.temp.dll.dll
    Syntax
    public struct AxisAlignedBox3f : IComparable<AxisAlignedBox3f>, IEquatable<AxisAlignedBox3f>

    Constructors

    AxisAlignedBox3f(Vector3f)

    Declaration
    public AxisAlignedBox3f(Vector3f vCenter)
    Parameters
    Type Name Description
    Vector3f vCenter

    AxisAlignedBox3f(Vector3f, Vector3f)

    Declaration
    public AxisAlignedBox3f(Vector3f vMin, Vector3f vMax)
    Parameters
    Type Name Description
    Vector3f vMin
    Vector3f vMax

    AxisAlignedBox3f(Vector3f, Single)

    Declaration
    public AxisAlignedBox3f(Vector3f vCenter, float fHalfSize)
    Parameters
    Type Name Description
    Vector3f vCenter
    Single fHalfSize

    AxisAlignedBox3f(Vector3f, Single, Single, Single)

    Declaration
    public AxisAlignedBox3f(Vector3f vCenter, float fHalfWidth, float fHalfHeight, float fHalfDepth)
    Parameters
    Type Name Description
    Vector3f vCenter
    Single fHalfWidth
    Single fHalfHeight
    Single fHalfDepth

    AxisAlignedBox3f(ref Vector3f, ref Vector3f)

    Declaration
    public AxisAlignedBox3f(ref Vector3f vMin, ref Vector3f vMax)
    Parameters
    Type Name Description
    Vector3f vMin
    Vector3f vMax

    AxisAlignedBox3f(ref Vector3f, Single, Single, Single)

    Declaration
    public AxisAlignedBox3f(ref Vector3f vCenter, float fHalfWidth, float fHalfHeight, float fHalfDepth)
    Parameters
    Type Name Description
    Vector3f vCenter
    Single fHalfWidth
    Single fHalfHeight
    Single fHalfDepth

    AxisAlignedBox3f(Boolean)

    Declaration
    public AxisAlignedBox3f(bool bIgnore)
    Parameters
    Type Name Description
    Boolean bIgnore

    AxisAlignedBox3f(Single)

    Declaration
    public AxisAlignedBox3f(float fCubeSize)
    Parameters
    Type Name Description
    Single fCubeSize

    AxisAlignedBox3f(Single, Single, Single)

    Declaration
    public AxisAlignedBox3f(float fWidth, float fHeight, float fDepth)
    Parameters
    Type Name Description
    Single fWidth
    Single fHeight
    Single fDepth

    AxisAlignedBox3f(Single, Single, Single, Single, Single, Single)

    Declaration
    public AxisAlignedBox3f(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax)
    Parameters
    Type Name Description
    Single xmin
    Single ymin
    Single zmin
    Single xmax
    Single ymax
    Single zmax

    Fields

    Empty

    Declaration
    public static readonly AxisAlignedBox3f Empty
    Field Value
    Type Description
    AxisAlignedBox3f

    Infinite

    Declaration
    public static readonly AxisAlignedBox3f Infinite
    Field Value
    Type Description
    AxisAlignedBox3f

    Max

    Declaration
    public Vector3f Max
    Field Value
    Type Description
    Vector3f

    Min

    Declaration
    public Vector3f Min
    Field Value
    Type Description
    Vector3f

    UnitPositive

    Declaration
    public static readonly AxisAlignedBox3f UnitPositive
    Field Value
    Type Description
    AxisAlignedBox3f

    Zero

    Declaration
    public static readonly AxisAlignedBox3f Zero
    Field Value
    Type Description
    AxisAlignedBox3f

    Properties

    Center

    Declaration
    public Vector3f Center { get; }
    Property Value
    Type Description
    Vector3f

    Depth

    Declaration
    public float Depth { get; }
    Property Value
    Type Description
    Single

    Diagonal

    Declaration
    public Vector3f Diagonal { get; }
    Property Value
    Type Description
    Vector3f

    DiagonalLength

    Declaration
    public float DiagonalLength { get; }
    Property Value
    Type Description
    Single

    Extents

    Declaration
    public Vector3f Extents { get; }
    Property Value
    Type Description
    Vector3f

    Height

    Declaration
    public float Height { get; }
    Property Value
    Type Description
    Single

    MaxDim

    Declaration
    public float MaxDim { get; }
    Property Value
    Type Description
    Single

    Volume

    Declaration
    public float Volume { get; }
    Property Value
    Type Description
    Single

    Width

    Declaration
    public float Width { get; }
    Property Value
    Type Description
    Single

    Methods

    CompareTo(AxisAlignedBox3f)

    Declaration
    public int CompareTo(AxisAlignedBox3f other)
    Parameters
    Type Name Description
    AxisAlignedBox3f other
    Returns
    Type Description
    Int32

    Contain(AxisAlignedBox3d)

    Declaration
    public void Contain(AxisAlignedBox3d box)
    Parameters
    Type Name Description
    AxisAlignedBox3d box

    Contain(AxisAlignedBox3f)

    Declaration
    public void Contain(AxisAlignedBox3f box)
    Parameters
    Type Name Description
    AxisAlignedBox3f box

    Contain(Vector3d)

    Declaration
    public void Contain(Vector3d v)
    Parameters
    Type Name Description
    Vector3d v

    Contain(Vector3f)

    Declaration
    public void Contain(Vector3f v)
    Parameters
    Type Name Description
    Vector3f v

    Contains(Vector3f)

    Declaration
    public bool Contains(Vector3f v)
    Parameters
    Type Name Description
    Vector3f v
    Returns
    Type Description
    Boolean

    Contract(Single)

    Declaration
    public void Contract(float fRadius)
    Parameters
    Type Name Description
    Single fRadius

    Corner(Int32)

    Declaration
    public Vector3f Corner(int i)
    Parameters
    Type Name Description
    Int32 i
    Returns
    Type Description
    Vector3f

    Distance(Vector3f)

    Declaration
    public float Distance(Vector3f v)
    Parameters
    Type Name Description
    Vector3f v
    Returns
    Type Description
    Single

    DistanceSquared(Vector3f)

    Declaration
    public double DistanceSquared(Vector3f v)
    Parameters
    Type Name Description
    Vector3f v
    Returns
    Type Description
    Double

    Equals(AxisAlignedBox3f)

    Declaration
    public bool Equals(AxisAlignedBox3f other)
    Parameters
    Type Name Description
    AxisAlignedBox3f other
    Returns
    Type Description
    Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    Expand(Single)

    Declaration
    public void Expand(float fRadius)
    Parameters
    Type Name Description
    Single fRadius

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    Intersect(AxisAlignedBox3f)

    Declaration
    public AxisAlignedBox3f Intersect(AxisAlignedBox3f box)
    Parameters
    Type Name Description
    AxisAlignedBox3f box
    Returns
    Type Description
    AxisAlignedBox3f

    Intersects(AxisAlignedBox3f)

    Declaration
    public bool Intersects(AxisAlignedBox3f box)
    Parameters
    Type Name Description
    AxisAlignedBox3f box
    Returns
    Type Description
    Boolean

    MoveMin(Vector3f)

    Declaration
    public void MoveMin(Vector3f vNewMin)
    Parameters
    Type Name Description
    Vector3f vNewMin

    MoveMin(Single, Single, Single)

    Declaration
    public void MoveMin(float fNewX, float fNewY, float fNewZ)
    Parameters
    Type Name Description
    Single fNewX
    Single fNewY
    Single fNewZ

    NearestPoint(Vector3f)

    Declaration
    public Vector3f NearestPoint(Vector3f v)
    Parameters
    Type Name Description
    Vector3f v
    Returns
    Type Description
    Vector3f

    Point(Int32, Int32, Int32)

    Returns point on face/edge/corner. For each coord value neg==min, 0==center, pos==max

    Declaration
    public Vector3f Point(int xi, int yi, int zi)
    Parameters
    Type Name Description
    Int32 xi
    Int32 yi
    Int32 zi
    Returns
    Type Description
    Vector3f

    Scale(Single, Single, Single)

    Declaration
    public void Scale(float sx, float sy, float sz)
    Parameters
    Type Name Description
    Single sx
    Single sy
    Single sz

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    ValueType.ToString()

    Translate(Vector3f)

    Declaration
    public void Translate(Vector3f vTranslate)
    Parameters
    Type Name Description
    Vector3f vTranslate

    Operators

    Equality(AxisAlignedBox3f, AxisAlignedBox3f)

    Declaration
    public static bool operator ==(AxisAlignedBox3f a, AxisAlignedBox3f b)
    Parameters
    Type Name Description
    AxisAlignedBox3f a
    AxisAlignedBox3f b
    Returns
    Type Description
    Boolean

    Inequality(AxisAlignedBox3f, AxisAlignedBox3f)

    Declaration
    public static bool operator !=(AxisAlignedBox3f a, AxisAlignedBox3f b)
    Parameters
    Type Name Description
    AxisAlignedBox3f a
    AxisAlignedBox3f b
    Returns
    Type Description
    Boolean

    Implements

    System.IComparable<T>
    System.IEquatable<T>
    In This Article
    Back to top ViRGIS VR GIS