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
파일 보기 프로젝트 열기: ParagonTruss/GeometryClassLibrary 1 사용 예제들

공개 메소드들

메소드 설명
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