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

SystemObject
  Mathos.Geometry.ShapesCube

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

public class Cube : IShape3D

The Cube type exposes the following members.

Constructors

  NameDescription
Public methodCube
Default constructor
Public methodCube(Double)
Constructor with a double, "length", to make the Cube equal to
Public methodCube(Square)
Constructor with a specified Square, "squareBase", to base the Cube off of
Top
Methods

  NameDescription
Public methodEquals(Object) (Overrides ObjectEquals(Object).)
Public methodEquals(Cube)
Checks to see if "_squareBase".Length is equal to "other"._squareBase.Length
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 propertyLength
Gets or sets the length of a side
Public propertySurfaceArea
Gets the surface area of the cube
Public propertyVolume
Gets the volume of the cube
Top
See Also

Reference