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

SystemObject
  Mathos.Geometry.ShapesSquarePyramid

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

public class SquarePyramid : IShape3D

The SquarePyramid type exposes the following members.

Constructors

  NameDescription
Public methodSquarePyramid
Default constructor
Public methodSquarePyramid(Double, Double)
Constructor with two doubles, "length" and "height", to base this pyramid off of
Public methodSquarePyramid(Square, Double)
Constructor with a square, "squarebase", and a double, "height", to base this pyramid off of
Top
Methods

  NameDescription
Public methodEquals(Object) (Overrides ObjectEquals(Object).)
Public methodEquals(SquarePyramid)
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 propertyHeight
Gets or sets the height of the square pyramid
Public propertyLength
Gets or sets the length of the square base
Public propertySurfaceArea
Gets the surface area of the square pyramid
Public propertyVolume
Gets the area of the square pyramid
Top
See Also

Reference