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

SystemObject
  Mathos.Geometry.ShapesSquare

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

public class Square : IShape2D

The Square type exposes the following members.

Constructors

  NameDescription
Public methodSquare
Default constructor
Public methodSquare(Double)
Constructor with a double, "length", to base this square off of
Top
Methods

  NameDescription
Public methodEquals(Object) (Overrides ObjectEquals(Object).)
Public methodEquals(Square)
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 square
Public propertyDiagonal
Gets the diagonal of the square
Public propertyLength
Gets or sets the length of the square
Public propertyPerimeter
Gets the perimeter of the square
Top
See Also

Reference