Sweet Home 3D 3.4

com.eteks.sweethome3d.model
Interface DoorOrWindow

All Superinterfaces:
PieceOfFurniture
All Known Implementing Classes:
CatalogDoorOrWindow, HomeDoorOrWindow

public interface DoorOrWindow
extends PieceOfFurniture

A piece of furniture used as a door or a window.

Since:
1.7
Author:
Emmanuel Puybaret

Method Summary
 Sash[] getSashes()
          Returns a copy of the sashes attached to this door or window.
 float getWallDistance()
          Returns the default distance that should lie outside of this door or window.
 float getWallThickness()
          Returns the default thickness of the wall in which this door or window should be placed.
 
Methods inherited from interface com.eteks.sweethome3d.model.PieceOfFurniture
getColor, getCurrency, getDepth, getDescription, getElevation, getHeight, getIcon, getModel, getModelRotation, getName, getPlanIcon, getPrice, getStaircaseCutOutShape, getValueAddedTaxPercentage, getWidth, isBackFaceShown, isDeformable, isDoorOrWindow, isMovable, isResizable, isTexturable
 

Method Detail

getWallThickness

float getWallThickness()
Returns the default thickness of the wall in which this door or window should be placed.

Returns:
a value in percentage of the depth of this door or window.

getWallDistance

float getWallDistance()
Returns the default distance that should lie outside of this door or window.

Returns:
a distance in percentage of the depth of this door or the window.

getSashes

Sash[] getSashes()
Returns a copy of the sashes attached to this door or window. If no sash is defined an empty array is returned.


Sweet Home 3D 3.4

? Copyrights 2006-2011 eTeks - All rights reserved
Distributed under GNU General Public License