Class Sash
Defined in: SweetHome3D.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Sash(xAxis, yAxis, width, startAngle, endAngle)
Creates a window sash.
|
Method Attributes | Method Name and Description |
---|---|
Returns the opening end angle of this sash.
|
|
Returns the opening start angle of this sash.
|
|
getWidth()
Returns the width of this sash.
|
|
getXAxis()
Returns the abscissa of the axis around which this sash turns, relatively to
the top left corner of the window or the door.
|
|
getYAxis()
Returns the ordinate of the axis around which this sash turns, relatively to
the top left corner of the window or the door.
|
Class Detail
Sash(xAxis, yAxis, width, startAngle, endAngle)
Creates a window sash.
Author: Emmanuel Puybaret.
Author: Emmanuel Puybaret.
- Parameters:
- {number} xAxis
- {number} yAxis
- {number} width
- {number} startAngle
- {number} endAngle
Method Detail
{number}
getEndAngle()
Returns the opening end angle of this sash.
- Returns:
- {number} an angle in radians.
{number}
getStartAngle()
Returns the opening start angle of this sash.
- Returns:
- {number} an angle in radians.
{number}
getWidth()
Returns the width of this sash.
- Returns:
- {number} a value in percentage of the width of the door or the window.
{number}
getXAxis()
Returns the abscissa of the axis around which this sash turns, relatively to
the top left corner of the window or the door.
- Returns:
- {number} a value in percentage of the width of the door or the window.
{number}
getYAxis()
Returns the ordinate of the axis around which this sash turns, relatively to
the top left corner of the window or the door.
- Returns:
- {number} a value in percentage of the depth of the door or the window.