An NDoc Documented Class Library

Box Members

Box overview

Public Static Fields

Back This const is used from GetSide as param. GetSide(Down) returns the "Back"- Array of the Box
Down This const is used from GetSide as param. GetSide(Down) returns the "Down"- Array of the Box
Front This const is used from GetSide as param. GetSide(Down) returns the "Front"- Array of the Box
Left This const is used from GetSide as param. GetSide(Down) returns the "Left"- Array of the Box
Right This const is used from GetSide as param. GetSide(Down) returns the "Right"- Array of the Box
Up This const is used from GetSide as param. GetSide(Down) returns the "Up"- Array of the Box

Public Static Methods

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

Public Instance Constructors

Box Overloaded. Initializes a new instance of the Box class.

Public Instance Fields

Origin Point, where the Box is placed
Size Size of the Box

Public Instance Methods

Equals (inherited from ValueType) 
GetHashCode (inherited from ValueType) 
GetMaxBoxOverloaded. Wíth this method you can easily calculate a minimal Box, who contains the oldbox ( this) and the point pt
GetSide GetSide returns for the constants Up, Down, Front, Back, Left, Right a xyzArray, which holds the points reponding to its side. In order you can iterate over the values 0 to 5 to get all sides of a box. The Sides are clockwise orientated relative to a "screwvector", who looks into the box.
GetType (inherited from Object) 
ToString (inherited from ValueType) 

See Also

Box Class | Minais.Drawing3d.Math Namespace