public interface DoorOrWindow extends PieceOfFurniture
DEFAULT_CUT_OUT_SHAPE, HIDE_EDGE_COLOR_MATERIAL, IDENTITY_ROTATION, SHOW_BACK_FACE
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCutOutShape()
Returns the shape used to cut out walls that intersect this new door or window.
|
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.
|
boolean |
isWallCutOutOnBothSides()
Returns
true if this door or window should cut out the both sides
of the walls it intersects, even if its front or back side are within the wall thickness. |
boolean |
isWidthDepthDeformable()
Returns
false if the width and depth of the new door or window may
not be changed independently from each other. |
getColor, getContentProperty, getCreator, getCurrency, getDepth, getDescription, getDropOnTopElevation, getElevation, getHeight, getIcon, getInformation, getLicense, getModel, getModelFlags, getModelRotation, getModelSize, getName, getPlanIcon, getPrice, getProperty, getPropertyNames, getStaircaseCutOutShape, getValueAddedTaxPercentage, getWidth, isBackFaceShown, isContentProperty, isDeformable, isDoorOrWindow, isHorizontallyRotatable, isMovable, isResizable, isTexturable
float getWallThickness()
float getWallDistance()
Sash[] getSashes()
java.lang.String getCutOutShape()
null
or a shape defined with the syntax of the d attribute of a
SVG path element
that fits in a square spreading from (0, 0) to (1, 1) which will be
scaled afterwards to the real size of this door or window.boolean isWallCutOutOnBothSides()
true
if this door or window should cut out the both sides
of the walls it intersects, even if its front or back side are within the wall thickness.boolean isWidthDepthDeformable()
false
if the width and depth of the new door or window may
not be changed independently from each other. When false
, this door or window
will also make a hole in the wall when it's placed whatever its depth if its
bouldToWall
flag is true
.isWidthDepthDeformable
in interface PieceOfFurniture
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License