Struct Box3f
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
Constructors
Box3f(AxisAlignedBox3f)
Declaration
public Box3f(AxisAlignedBox3f aaBox)
Parameters
Box3f(Vector3f)
Declaration
public Box3f(Vector3f center)
Parameters
Box3f(Vector3f, Vector3f)
Declaration
public Box3f(Vector3f center, Vector3f extent)
Parameters
Box3f(Vector3f, Vector3f, Vector3f, Vector3f, Vector3f)
Declaration
public Box3f(Vector3f center, Vector3f x, Vector3f y, Vector3f z, Vector3f extent)
Parameters
Fields
AxisX
Declaration
Field Value
AxisY
Declaration
Field Value
AxisZ
Declaration
Field Value
Center
Declaration
Field Value
Empty
Declaration
public static readonly Box3f Empty
Field Value
Extent
Declaration
Field Value
Properties
Diagonal
Declaration
public Vector3f Diagonal { get; }
Property Value
MaxExtent
Declaration
public double MaxExtent { get; }
Property Value
MinExtent
Declaration
public double MinExtent { get; }
Property Value
Volume
Declaration
public double Volume { get; }
Property Value
Methods
Axis(Int32)
Declaration
public Vector3f Axis(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
ComputeVertices()
Declaration
public Vector3f[] ComputeVertices()
Returns
ComputeVertices(Vector3f[])
Declaration
public void ComputeVertices(Vector3f[] vertex)
Parameters
Contain(Box3f)
Declaration
public void Contain(Box3f o)
Parameters
Type |
Name |
Description |
Box3f |
o |
|
Contain(Vector3f)
Declaration
public void Contain(Vector3f v)
Parameters
Contains(Vector3f)
Declaration
public bool Contains(Vector3f v)
Parameters
Returns
Expand(Single)
Declaration
public void Expand(float f)
Parameters
Type |
Name |
Description |
Single |
f |
|
Scale(Vector3f)
Declaration
public void Scale(Vector3f s)
Parameters
ScaleExtents(Vector3f)
Declaration
public void ScaleExtents(Vector3f s)
Parameters
ToAABB()
Declaration
public AxisAlignedBox3f ToAABB()
Returns
Translate(Vector3f)
Declaration
public void Translate(Vector3f v)
Parameters
VerticesItr()
Declaration
public IEnumerable<Vector3f> VerticesItr()
Returns