This documentation is compiled for the latest release of Mathos Core Library
SystemObject
Mathos.Geometry.ShapesRectangularPrism
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Top
Top
Top
Top
Top
Rectangular prism shape
Inheritance Hierarchy
Mathos.Geometry.ShapesRectangularPrism
Namespace: Mathos.Geometry.Shapes
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax
The RectangularPrism type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | RectangularPrism |
Default constructor
|
![]() | RectangularPrism(Rectangle, Double) |
Constructor with a Rectangle, "rectangleBase", and a double, "height", to base this prism on
|
![]() | RectangularPrism(Double, Double, Double) |
Constructor with a "length", "width", and "height" to base this prism on
|
Methods
Name | Description | |
---|---|---|
![]() | Equals(Object) | (Overrides ObjectEquals(Object).) |
![]() | Equals(RectangularPrism) | |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | (Overrides ObjectGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Operators
Name | Description | |
---|---|---|
![]() ![]() | Equality |
The equalto operator
|
![]() ![]() | Inequality |
The not-equalto operator
|
Extension Methods
Name | Description | |
---|---|---|
![]() | From(Enum) | Overloaded. (Defined by Converter.) |
![]() | From(Base) | Overloaded. (Defined by Converter.) |
Properties
Name | Description | |
---|---|---|
![]() | Height |
Gets or sets the height of the rectangular prism
|
![]() | Length |
Gets or sets the length of the rectangular prism
|
![]() | SurfaceArea |
Gets the surface area of the rectangular prism
|
![]() | Volume |
Gets the volume of the rectangular prism
|
![]() | Width |
Gets or sets the width of the rectangular prism
|
See Also