Click or drag to resize
Accord.NET (logo)

Hyperrectangle Structure

Hyperrectangle structure.

Namespace:  Accord.Math
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public struct Hyperrectangle : ICloneable, 
	IEquatable<Hyperrectangle>, IFormattable
Request Example View Source

The Hyperrectangle type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyMax
Gets the maximum point defining the upper bound of the hyperrectangle.
Public propertyMin
Gets the minimum point defining the lower bound of the hyperrectangle.
Public propertyNumberOfDimensions
Gets the number of dimensions of the hyperrectangle.
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
Public methodContains
Determines if the specified point is contained within this Hyperrectangle structure.
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodEquals(Hyperrectangle)
Indicates whether the current object is equal to another object of the same type.
Public methodStatic memberFromMinAndLength
Initializes a new instance of the Hyperrectangle struct from a minimum value and a size.
Public methodStatic memberFromMinAndMax
Initializes a new instance of the Hyperrectangle struct from minimum and maximum values.
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetLength
Gets the length of each dimension. The length of the first dimension can be referred as the width, the second as the height, and so on.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIntersectsWith
Determines if this rectangle intersects with rect.
Public methodToString
Returns a String that represents this instance.
(Overrides ValueTypeToString.)
Public methodToString(String, IFormatProvider)
Returns a String that represents this instance.
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToRectangle
Convert the given hyperrectangle in to a System.Drawing.Rectangle.
(Defined by DrawingExtensions.)
Public Extension MethodToRectangleF
Convert the given hyperrectangle in to a System.Drawing.RectangleF.
(Defined by DrawingExtensions.)
Top
Remarks

In geometry, an n-orthotope (also called a hyperrectangle or a box) is the generalization of a rectangle for higher dimensions, formally defined as the Cartesian product of intervals.

References:

  • Wikipedia contributors, "Hyperrectangle," Wikipedia, The Free Encyclopedia, https://en.wikipedia.org/w/index.php?title=Hyperrectangle

See Also

Reference

SystemIFormattable