The Cuboid type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Cuboid()()()() |
Default cuboid constructor. All corrdiantes axes minimum and
maximum values are set to zero.
| |
Cuboid(Double, Double, Double, Double, Double, Double) |
Cuboid constructor. Two values are given for each coordinate axle
and the cuboid is initalized based on these. If a value for certain
axle is set to NaN, it is assumed to be 0.
|
Methods
Name | Description | |
---|---|---|
BoundPointToVolume |
Changes the point location to the closest location within the
volume of the cuboid.
| |
Contains |
Checks if the point passed as a parameter is contained in the
cuboid.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Height |
Height is the size of the cuboid along the Y axle.
| |
Length |
Length is the size of the cuboid along the Z axle.
| |
MaxX |
Maximum value within the cuboid along the X axle.
If the value set is smaller than MinX, the
property is set to MinX.
| |
MaxY |
Maximum value within the cuboid along the Y axle.
If the value set is smaller than MinY, the
property is set to MinY.
| |
MaxZ |
Maximum value within the cuboid along the Z axle.
If the value set is smaller than MinZ, the
property is set to MinZ.
| |
MinX |
Minimum value within the cuboid along the X axle.
If the value set is larger than MaxX, the
property is set to MaxX.
| |
MinY |
Minimum value within the cuboid along the Y axle.
If the value set is larger than MaxY, the
property is set to MaxY.
| |
MinZ |
Minimum value within the cuboid along the Z axle.
If the value set is larger than MaxZ, the
property is set to MaxZ.
| |
Width |
Width is the size of the cuboid along the X axle.
|