This documentation is compiled for the latest release of Mathos Core Library
SystemObject
Mathos.Geometry.ShapesTriangle
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Top
Top
Top
Top
Top
Inheritance Hierarchy
Mathos.Geometry.ShapesTriangle
Namespace: Mathos.Geometry.Shapes
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax
The Triangle type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Triangle | Initializes a new instance of the Triangle class | |
| Triangle(RightTriangle) | Initializes a new instance of the Triangle class | |
| Triangle(Double, Double) | Initializes a new instance of the Triangle class | |
| Triangle(Double, Double, Double, Double, Double, Double) | Initializes a new instance of the Triangle class |
Methods
| Name | Description | |
|---|---|---|
| Equals(Object) | (Overrides ObjectEquals(Object).) | |
| Equals(Triangle) | ||
| 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 | ||
| (RightTriangle to Triangle) | ||
| Inequality |
Extension Methods
| Name | Description | |
|---|---|---|
| From(Enum) | Overloaded. (Defined by Converter.) | |
| From(Base) | Overloaded. (Defined by Converter.) |
Properties
| Name | Description | |
|---|---|---|
| AngleA |
Gets or sets the angle opposite to side A
| |
| AngleB |
Gets or sets the angle opposite to side B
| |
| AngleC |
Gets or sets the angle opposite to side C
| |
| Area |
Gets the area of the triangle
| |
| Perimeter |
Gets the perimeter of the triangle
| |
| SideA |
Gets or sets the side A
| |
| SideB |
Gets or sets the side B
| |
| SideC |
Gets or sets the side C
|
See Also