Drawing3d documented Class Library

Box.ResetBox Method

Reset the Box at the begin, if you want to calculate an environment box by using the method GetMaxBox

[Visual Basic]
Public Shared Sub ResetBox()
[C#]
public static Box ResetBox();

Example

xyz P1 = new xyz(3, 2, 1);
xyz P2 = new xyz(-4,1, 5);

Box B = ResetBox();
B = B.GetMaxBox(P1);
B = B.GetMaxBox(P2);
// now B encapsulates the Points P1 and P2.
// his Origin is at (-4, 1, 1)
// his Size is ( 7, 1, 4 )


See Also

Box Class | Drawing3d.Math Namespace