This documentation is compiled for the latest release of Mathos Core Library
SystemObject
Mathos.Geometry.ShapesTrapezoid
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Top
Top
Top
Top
Top
Trapezoid shape
Inheritance Hierarchy
Mathos.Geometry.ShapesTrapezoid
Namespace: Mathos.Geometry.Shapes
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax
The Trapezoid type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Trapezoid |
Default constructor
| |
| Trapezoid(Double, Double, Double) |
Constructor with three doubles, "baseOne" "baseTwo" and "height", to base this trapezoid off of
| |
| Trapezoid(Double, Double, Double, Double) |
Constructor with four doubles, "baseOne" "baseTwo" "legOne" and "legTwo", to base this trapezoid off of
|
Methods
| Name | Description | |
|---|---|---|
| Equals(Object) | (Overrides ObjectEquals(Object).) | |
| Equals(Trapezoid) | ||
| 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 | |
|---|---|---|
| Area |
Gets the area of the trapezoid
| |
| BaseOne |
Gets or sets the first base of the trapezoid
| |
| BaseTwo |
Gets or sets the second base of the trapezoid
| |
| Height |
Gets or sets the height of the trapezoid
| |
| LegOne |
Gets or sets the length of the first leg
| |
| LegTwo |
Gets or sets the length of the first leg
| |
| Perimeter |
Gets the perimeter of the trapezoid
|
See Also