Trapezoid ClassMathos Core Library 1.0.5.1 (changeset 39720)
This documentation is compiled for the latest release of Mathos Core Library
Trapezoid shape
Inheritance Hierarchy

SystemObject
  Mathos.Geometry.ShapesTrapezoid

Namespace: Mathos.Geometry.Shapes
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax

public class Trapezoid : IShape2D

The Trapezoid type exposes the following members.

Constructors

  NameDescription
Public methodTrapezoid
Default constructor
Public methodTrapezoid(Double, Double, Double)
Constructor with three doubles, "baseOne" "baseTwo" and "height", to base this trapezoid off of
Public methodTrapezoid(Double, Double, Double, Double)
Constructor with four doubles, "baseOne" "baseTwo" "legOne" and "legTwo", to base this trapezoid off of
Top
Methods

  NameDescription
Public methodEquals(Object) (Overrides ObjectEquals(Object).)
Public methodEquals(Trapezoid)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
The equalto operator
Public operatorStatic memberInequality
The not-equalto operator
Top
Extension Methods

  NameDescription
Public Extension MethodFrom(Enum)Overloaded.
(Defined by Converter.)
Public Extension MethodFrom(Base)Overloaded.
(Defined by Converter.)
Top
Properties

  NameDescription
Public propertyArea
Gets the area of the trapezoid
Public propertyBaseOne
Gets or sets the first base of the trapezoid
Public propertyBaseTwo
Gets or sets the second base of the trapezoid
Public propertyHeight
Gets or sets the height of the trapezoid
Public propertyLegOne
Gets or sets the length of the first leg
Public propertyLegTwo
Gets or sets the length of the first leg
Public propertyPerimeter
Gets the perimeter of the trapezoid
Top
See Also

Reference