An NDoc Documented Class Library

Box.ResetBox Method 

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

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 encapsulate the Points P1 and P2.
// his Origin is at (-4, 1, 1)
// his Size is ( 7, 1, 4 )


See Also

Box Class | Minais.Drawing3d.Math Namespace