The Cuboid type exposes the following members.

Constructors

  NameDescription
Public methodCuboid()()()()
Default cuboid constructor. All corrdiantes axes minimum and maximum values are set to zero.
Public methodCuboid(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

  NameDescription
Public methodBoundPointToVolume
Changes the point location to the closest location within the volume of the cuboid.
Public methodContains
Checks if the point passed as a parameter is contained in the cuboid.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyHeight
Height is the size of the cuboid along the Y axle.
Public propertyLength
Length is the size of the cuboid along the Z axle.
Public propertyMaxX
Maximum value within the cuboid along the X axle. If the value set is smaller than MinX, the property is set to MinX.
Public propertyMaxY
Maximum value within the cuboid along the Y axle. If the value set is smaller than MinY, the property is set to MinY.
Public propertyMaxZ
Maximum value within the cuboid along the Z axle. If the value set is smaller than MinZ, the property is set to MinZ.
Public propertyMinX
Minimum value within the cuboid along the X axle. If the value set is larger than MaxX, the property is set to MaxX.
Public propertyMinY
Minimum value within the cuboid along the Y axle. If the value set is larger than MaxY, the property is set to MaxY.
Public propertyMinZ
Minimum value within the cuboid along the Z axle. If the value set is larger than MaxZ, the property is set to MaxZ.
Public propertyWidth
Width is the size of the cuboid along the X axle.

See Also