C# Класс GeometryClassLibrary.RectangularPrism

A prism is "a solid geometric figure whose two end faces are similar, equal, and parallel rectilinear figures, and whose sides are parallelograms."
Наследование: Polyhedron
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
RectangularPrism ( Distance length, Distance width, Distance height, Point basePoint = null ) : UnitClassLibrary.DistanceUnit

Creates a rectangular prism with the given Distances in the x,y,z directions

RectangularPrism ( Point oppositeCorner, Point basePoint = null ) : UnitClassLibrary.DistanceUnit

Constructs the rectangular prism between the two passed points and the given point as opposite corners.

RectangularPrism ( Rectangle rectangle, Distance height ) : UnitClassLibrary.DistanceUnit

Защищенные методы

Метод Описание
RectangularPrism ( ) : UnitClassLibrary.DistanceUnit

Protected null constructor for the use of data frameworks like Entity Framework and Json.NET

Приватные методы

Метод Описание
_makePrismFromRectangle ( Rectangle rectangle, Distance height ) : Polyhedron
_makeSolid ( Distance length, Distance width, Distance height, Point basePoint = null ) : Polyhedron

Описание методов

RectangularPrism() защищенный Метод

Protected null constructor for the use of data frameworks like Entity Framework and Json.NET
protected RectangularPrism ( ) : UnitClassLibrary.DistanceUnit
Результат UnitClassLibrary.DistanceUnit

RectangularPrism() публичный Метод

Creates a rectangular prism with the given Distances in the x,y,z directions
public RectangularPrism ( Distance length, Distance width, Distance height, Point basePoint = null ) : UnitClassLibrary.DistanceUnit
length UnitClassLibrary.DistanceUnit.Distance
width UnitClassLibrary.DistanceUnit.Distance
height UnitClassLibrary.DistanceUnit.Distance
basePoint Point
Результат UnitClassLibrary.DistanceUnit

RectangularPrism() публичный Метод

Constructs the rectangular prism between the two passed points and the given point as opposite corners.
public RectangularPrism ( Point oppositeCorner, Point basePoint = null ) : UnitClassLibrary.DistanceUnit
oppositeCorner Point
basePoint Point
Результат UnitClassLibrary.DistanceUnit

RectangularPrism() публичный Метод

public RectangularPrism ( Rectangle rectangle, Distance height ) : UnitClassLibrary.DistanceUnit
rectangle Rectangle
height UnitClassLibrary.DistanceUnit.Distance
Результат UnitClassLibrary.DistanceUnit