C# Class GeometryClassLibrary.Rectangle

Inheritance: Polygon
ファイルを表示 Open project: ParagonTruss/GeometryClassLibrary Class Usage Examples

Public Methods

Method Description
Rectangle ( Distance length, Distance width, Point basePoint = null ) : UnitClassLibrary.DistanceUnit

Creates a Rectangle in the XY Plane, with one corner at the origin, and the specified length, width.

Rectangle ( Vector baseSegment, Distance height, Direction referencePlaneNormal = null ) : UnitClassLibrary.DistanceUnit

Private Methods

Method Description
_makeRectangle ( Distance length, Distance width, Point basePoint = null ) : Polygon
_makeRectangle ( Vector baseSegment, Distance height, Direction referencePlaneNormal ) : Polygon

Method Details

Rectangle() public method

Creates a Rectangle in the XY Plane, with one corner at the origin, and the specified length, width.
public Rectangle ( Distance length, Distance width, Point basePoint = null ) : UnitClassLibrary.DistanceUnit
length UnitClassLibrary.DistanceUnit.Distance
width UnitClassLibrary.DistanceUnit.Distance
basePoint Point
return UnitClassLibrary.DistanceUnit

Rectangle() public method

public Rectangle ( Vector baseSegment, Distance height, Direction referencePlaneNormal = null ) : UnitClassLibrary.DistanceUnit
baseSegment Vector
height UnitClassLibrary.DistanceUnit.Distance
referencePlaneNormal Direction
return UnitClassLibrary.DistanceUnit