rectangleProfileType

complexType · extension complexBaseType · all

Rectangle with optionally rounded corners

The rectangle is 1 wide in y direction and heightToWidthRatio high in z direction, centered at the origin. The optional cornerRadius rounds all four corners with quarter circles of the same radius, given relative to the width; without it, the corners are sharp. The radius must be less than half the width and must not exceed half the height; if it equals half the height, the short sides become semicircles. Order and curve parameter are described for standardProfileType.

Rectangle profile with width 1, height heightToWidthRatio and corner radius; largest corner radius of half the height

The contour is the set of points (y, z) that fulfill

max(|y| - 1/2 + c, 0)^2 + max(|z| - r/2 + c, 0)^2 = c^2

with c = cornerRadius and r = heightToWidthRatio.

Attributes

NameTypeConstraintsUseDefaultDescription
@externalDataDirectoryxsd:stringoptionalDirectory of the external data file
@externalDataNodePathxsd:stringoptionalPath of the node inside the external data file
@externalFileNamexsd:stringoptionalName of the external data file

Child elements

NameTypeConstraintsOccurrenceHow often the element may appear at this place. The schema writes it as minOccurs and maxOccurs on the declaration.DefaultDescription
allThe children below may appear in any order. Each may appear at most once.
cornerRadiusdoubleBaseTypeminInclusive, maxExclusive[0..1] optionalRadius of the rounded corners relative to the width, less than half the width and at most half the height (if omitted: sharp corners)
heightToWidthRatioposExcl0DoubleBaseTypeminExclusive[1..1] requiredHeight of the rectangle relative to its width

Used by

In a dataset · 3 paths

In the schema · 1 declaration

TypeName
standardProfileTyperectangle