Drawing3d documented Class Library

Box Members

Box overview

Public Static (Shared) 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 (Shared) Methods

ResetBox Reset the Box at the begin, if 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. With this method you can easily calculate a small Box which 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 responding to its side. In order to that 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", which heads for the inside of the box.
GetType (inherited from Object) 
InterSect Gets true if the Line the box crosses.
IsEmpty gets true if the box is empty
ToString (inherited from ValueType) 

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

Box Class | Drawing3d.Math Namespace