public class CatalogDoorOrWindow extends CatalogPieceOfFurniture implements DoorOrWindow
DEFAULT_CUT_OUT_SHAPE, HIDE_EDGE_COLOR_MATERIAL, IDENTITY_ROTATION, SHOW_BACK_FACE
Constructor and Description |
---|
CatalogDoorOrWindow(java.lang.String name,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
java.lang.Integer color,
float[][] modelRotation,
boolean backFaceShown,
float iconYaw,
boolean proportional)
Creates a modifiable catalog door or window with all its values.
|
CatalogDoorOrWindow(java.lang.String name,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
java.lang.Integer color,
float[][] modelRotation,
boolean backFaceShown,
java.lang.Long modelSize,
java.lang.String creator,
float iconYaw,
boolean proportional)
Creates a modifiable catalog door or window with all its values.
|
CatalogDoorOrWindow(java.lang.String name,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
java.lang.Integer color,
float[][] modelRotation,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
float iconYaw,
float iconPitch,
float iconScale,
boolean proportional)
Creates a modifiable catalog door or window with all its values.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
java.lang.String cutOutShape,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
float dropOnTopElevation,
boolean movable,
java.lang.String cutOutShape,
float wallThickness,
float wallDistance,
boolean wallCutOutOnBothSides,
boolean widthDepthDeformable,
Sash[] sashes,
float[][] modelRotation,
boolean backFaceShown,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
float dropOnTopElevation,
boolean movable,
java.lang.String cutOutShape,
float wallThickness,
float wallDistance,
boolean wallCutOutOnBothSides,
boolean widthDepthDeformable,
Sash[] sashes,
float[][] modelRotation,
boolean backFaceShown,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
float dropOnTopElevation,
boolean movable,
java.lang.String cutOutShape,
float wallThickness,
float wallDistance,
boolean wallCutOutOnBothSides,
boolean widthDepthDeformable,
Sash[] sashes,
float[][] modelRotation,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
float dropOnTopElevation,
boolean movable,
java.lang.String cutOutShape,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
boolean backFaceShown,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
float dropOnTopElevation,
boolean movable,
java.lang.String cutOutShape,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String license,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
float dropOnTopElevation,
boolean movable,
java.lang.String cutOutShape,
float wallThickness,
float wallDistance,
boolean wallCutOutOnBothSides,
boolean widthDepthDeformable,
Sash[] sashes,
float[][] modelRotation,
int modelFlags,
java.lang.Long modelSize,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency,
java.util.Map<java.lang.String,java.lang.String> properties,
java.util.Map<java.lang.String,Content> contents)
Creates an unmodifiable catalog door or window of the default catalog.
|
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 at the back side of this door or window.
|
float |
getWallThickness()
Returns the default thickness of the wall in which this door or window should be placed.
|
boolean |
isDoorOrWindow()
Returns always
true . |
boolean |
isHorizontallyRotatable()
Returns always
false . |
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. |
clone, compareTo, equals, getCategory, getColor, getContentProperty, getCreationDate, getCreator, getCurrency, getDepth, getDescription, getDropOnTopElevation, getElevation, getFilterCriteria, getGrade, getHeight, getIcon, getIconPitch, getIconScale, getIconYaw, getId, getInformation, getLicense, getModel, getModelFlags, getModelRotation, getModelSize, getName, getPlanIcon, getPrice, getProperty, getPropertyNames, getStaircaseCutOutShape, getTags, getValueAddedTaxPercentage, getWidth, hashCode, isBackFaceShown, isContentProperty, isDeformable, isModifiable, isMovable, isProportional, isResizable, isTexturable, matchesFilter
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
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, isMovable, isResizable, isTexturable
public CatalogDoorOrWindow(java.lang.String id, java.lang.String name, java.lang.String description, Content icon, Content model, float width, float depth, float height, float elevation, boolean movable, float wallThickness, float wallDistance, Sash[] sashes, float[][] modelRotation, java.lang.String creator, boolean resizable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage)
id
- the id of the new door or window, or null
name
- the name of the new door or windowdescription
- the description of the new door or windowicon
- content of the icon of the new door or windowmodel
- content of the 3D model of the new door or windowwidth
- the width in centimeters of the new door or windowdepth
- the depth in centimeters of the new door or windowheight
- the height in centimeters of the new door or windowelevation
- the elevation in centimeters of the new door or windowmovable
- if true
, the new door or window is movablewallThickness
- a value in percentage of the depth of the new door or windowwallDistance
- a distance in percentage of the depth of the new door or windowsashes
- the sashes attached to the new door or windowmodelRotation
- the rotation 3 by 3 matrix applied to the door or window modelcreator
- the creator of the modelresizable
- if true
, the size of the new door or window may be editedprice
- the price of the new door or window, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new door or window or null
public CatalogDoorOrWindow(java.lang.String id, java.lang.String name, java.lang.String description, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, boolean movable, float wallThickness, float wallDistance, Sash[] sashes, float[][] modelRotation, java.lang.String creator, boolean resizable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage)
id
- the id of the new door or window, or null
name
- the name of the new door or windowdescription
- the description of the new door or windowicon
- content of the icon of the new door or windowplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new door or windowwidth
- the width in centimeters of the new door or windowdepth
- the depth in centimeters of the new door or windowheight
- the height in centimeters of the new door or windowelevation
- the elevation in centimeters of the new door or windowmovable
- if true
, the new door or window is movablewallThickness
- a value in percentage of the depth of the new door or windowwallDistance
- a distance in percentage of the depth of the new door or windowsashes
- the sashes attached to the new door or windowmodelRotation
- the rotation 3 by 3 matrix applied to the door or window modelcreator
- the creator of the modelresizable
- if true
, the size of the new door or window may be editedprice
- the price of the new door or window, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new door or window or null
public CatalogDoorOrWindow(java.lang.String id, java.lang.String name, java.lang.String description, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, boolean movable, float wallThickness, float wallDistance, Sash[] sashes, float[][] modelRotation, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage)
id
- the id of the new door or window, or null
name
- the name of the new door or windowdescription
- the description of the new door or windowicon
- content of the icon of the new door or windowplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new door or windowwidth
- the width in centimeters of the new door or windowdepth
- the depth in centimeters of the new door or windowheight
- the height in centimeters of the new door or windowelevation
- the elevation in centimeters of the new door or windowmovable
- if true
, the new door or window is movablewallThickness
- a value in percentage of the depth of the new door or windowwallDistance
- a distance in percentage of the depth of the new door or windowsashes
- the sashes attached to the new door or windowmodelRotation
- the rotation 3 by 3 matrix applied to the door or window modelcreator
- the creator of the modelresizable
- if true
, the size of the new door or window may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new door or window, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new door or window or null
public CatalogDoorOrWindow(java.lang.String id, java.lang.String name, java.lang.String description, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, boolean movable, float wallThickness, float wallDistance, Sash[] sashes, float[][] modelRotation, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.String currency)
id
- the id of the new door or window, or null
name
- the name of the new door or windowdescription
- the description of the new door or windowicon
- content of the icon of the new door or windowplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new door or windowwidth
- the width in centimeters of the new door or windowdepth
- the depth in centimeters of the new door or windowheight
- the height in centimeters of the new door or windowelevation
- the elevation in centimeters of the new door or windowmovable
- if true
, the new door or window is movablewallThickness
- a value in percentage of the depth of the new door or windowwallDistance
- a distance in percentage of the depth of the new door or windowsashes
- the sashes attached to the new door or windowmodelRotation
- the rotation 3 by 3 matrix applied to the door or window modelcreator
- the creator of the modelresizable
- if true
, the size of the new door or window may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new door or window, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new door or window or null
currency
- the price currency, noted with ISO 4217 code, or null
public CatalogDoorOrWindow(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String information, java.lang.String[] tags, java.lang.Long creationDate, java.lang.Float grade, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, boolean movable, float wallThickness, float wallDistance, Sash[] sashes, float[][] modelRotation, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.String currency)
id
- the id of the new door or window, or null
name
- the name of the new door or windowdescription
- the description of the new door or windowinformation
- additional information associated to the new door or windowtags
- tags associated to the new door or windowcreationDate
- creation date of the new door or window in milliseconds since the epochgrade
- grade of the new door or window or null
icon
- content of the icon of the new door or windowplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new door or windowwidth
- the width in centimeters of the new door or windowdepth
- the depth in centimeters of the new door or windowheight
- the height in centimeters of the new door or windowelevation
- the elevation in centimeters of the new door or windowmovable
- if true
, the new door or window is movablewallThickness
- a value in percentage of the depth of the new door or windowwallDistance
- a distance in percentage of the depth of the new door or windowsashes
- the sashes attached to the new door or windowmodelRotation
- the rotation 3 by 3 matrix applied to the door or window modelcreator
- the creator of the modelresizable
- if true
, the size of the new door or window may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new door or window, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new door or window or null
currency
- the price currency, noted with ISO 4217 code, or null
public CatalogDoorOrWindow(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String information, java.lang.String[] tags, java.lang.Long creationDate, java.lang.Float grade, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, boolean movable, java.lang.String cutOutShape, float wallThickness, float wallDistance, Sash[] sashes, float[][] modelRotation, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.String currency)
id
- the id of the new door or window, or null
name
- the name of the new door or windowdescription
- the description of the new door or windowinformation
- additional information associated to the new door or windowtags
- tags associated to the new door or windowcreationDate
- creation date of the new door or window in milliseconds since the epochgrade
- grade of the new door or window or null
icon
- content of the icon of the new door or windowplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new door or windowwidth
- the width in centimeters of the new door or windowdepth
- the depth in centimeters of the new door or windowheight
- the height in centimeters of the new door or windowelevation
- the elevation in centimeters of the new door or windowmovable
- if true
, the new door or window is movablecutOutShape
- the shape used to cut out walls that intersect the new door or windowwallThickness
- a value in percentage of the depth of the new door or windowwallDistance
- a distance in percentage of the depth of the new door or windowsashes
- the sashes attached to the new door or windowmodelRotation
- the rotation 3 by 3 matrix applied to the door or window modelcreator
- the creator of the modelresizable
- if true
, the size of the new door or window may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new door or window, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new door or window or null
currency
- the price currency, noted with ISO 4217 code, or null
public CatalogDoorOrWindow(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String information, java.lang.String[] tags, java.lang.Long creationDate, java.lang.Float grade, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, float dropOnTopElevation, boolean movable, java.lang.String cutOutShape, float wallThickness, float wallDistance, Sash[] sashes, float[][] modelRotation, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.String currency)
id
- the id of the new door or window, or null
name
- the name of the new door or windowdescription
- the description of the new door or windowinformation
- additional information associated to the new door or windowtags
- tags associated to the new door or windowcreationDate
- creation date of the new door or window in milliseconds since the epochgrade
- grade of the new door or window or null
icon
- content of the icon of the new door or windowplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new door or windowwidth
- the width in centimeters of the new door or windowdepth
- the depth in centimeters of the new door or windowheight
- the height in centimeters of the new door or windowelevation
- the elevation in centimeters of the new door or windowdropOnTopElevation
- a percentage of the height at which should be placed
an object dropped on the new piecemovable
- if true
, the new door or window is movablecutOutShape
- the shape used to cut out walls that intersect the new door or windowwallThickness
- a value in percentage of the depth of the new door or windowwallDistance
- a distance in percentage of the depth of the new door or windowsashes
- the sashes attached to the new door or windowmodelRotation
- the rotation 3 by 3 matrix applied to the door or window modelcreator
- the creator of the modelresizable
- if true
, the size of the new door or window may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new door or window, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new door or window or null
currency
- the price currency, noted with ISO 4217 code, or null
public CatalogDoorOrWindow(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String information, java.lang.String[] tags, java.lang.Long creationDate, java.lang.Float grade, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, float dropOnTopElevation, boolean movable, java.lang.String cutOutShape, float wallThickness, float wallDistance, Sash[] sashes, float[][] modelRotation, boolean backFaceShown, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.String currency)
id
- the id of the new door or window, or null
name
- the name of the new door or windowdescription
- the description of the new door or windowinformation
- additional information associated to the new door or windowtags
- tags associated to the new door or windowcreationDate
- creation date of the new door or window in milliseconds since the epochgrade
- grade of the new door or window or null
icon
- content of the icon of the new door or windowplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new door or windowwidth
- the width in centimeters of the new door or windowdepth
- the depth in centimeters of the new door or windowheight
- the height in centimeters of the new door or windowelevation
- the elevation in centimeters of the new door or windowdropOnTopElevation
- a percentage of the height at which should be placed
an object dropped on the new piecemovable
- if true
, the new door or window is movablecutOutShape
- the shape used to cut out walls that intersect the new door or windowwallThickness
- a value in percentage of the depth of the new door or windowwallDistance
- a distance in percentage of the depth of the new door or windowsashes
- the sashes attached to the new door or windowmodelRotation
- the rotation 3 by 3 matrix applied to the door or window modelbackFaceShown
- true
if back face should be shown instead of front facescreator
- the creator of the modelresizable
- if true
, the size of the new door or window may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new door or window, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new door or window or null
currency
- the price currency, noted with ISO 4217 code, or null
public CatalogDoorOrWindow(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String information, java.lang.String[] tags, java.lang.Long creationDate, java.lang.Float grade, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, float dropOnTopElevation, boolean movable, java.lang.String cutOutShape, float wallThickness, float wallDistance, boolean wallCutOutOnBothSides, boolean widthDepthDeformable, Sash[] sashes, float[][] modelRotation, boolean backFaceShown, java.lang.Long modelSize, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.String currency)
id
- the id of the new door or window, or null
name
- the name of the new door or windowdescription
- the description of the new door or windowinformation
- additional information associated to the new door or windowtags
- tags associated to the new door or windowcreationDate
- creation date of the new door or window in milliseconds since the epochgrade
- grade of the new door or window or null
icon
- content of the icon of the new door or windowplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new door or windowwidth
- the width in centimeters of the new door or windowdepth
- the depth in centimeters of the new door or windowheight
- the height in centimeters of the new door or windowelevation
- the elevation in centimeters of the new door or windowdropOnTopElevation
- a percentage of the height at which should be placed
an object dropped on the new piecemovable
- if true
, the new door or window is movablecutOutShape
- the shape used to cut out walls that intersect the new door or windowwallThickness
- a value in percentage of the depth of the new door or windowwallDistance
- a distance in percentage of the depth of the new door or windowwallCutOutOnBothSides
- if true
the new door or window should cut out
the both sides of the walls it intersectswidthDepthDeformable
- if false
, the width and depth of the new door or window may
not be changed independently from each othersashes
- the sashes attached to the new door or windowmodelRotation
- the rotation 3 by 3 matrix applied to the door or window modelbackFaceShown
- true
if back face should be shown instead of front facesmodelSize
- size of the 3D model of the new lightcreator
- the creator of the modelresizable
- if true
, the size of the new door or window may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new door or window, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new door or window or null
currency
- the price currency, noted with ISO 4217 code, or null
public CatalogDoorOrWindow(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String information, java.lang.String[] tags, java.lang.Long creationDate, java.lang.Float grade, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, float dropOnTopElevation, boolean movable, java.lang.String cutOutShape, float wallThickness, float wallDistance, boolean wallCutOutOnBothSides, boolean widthDepthDeformable, Sash[] sashes, float[][] modelRotation, boolean backFaceShown, java.lang.Long modelSize, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.String currency, java.util.Map<java.lang.String,java.lang.String> properties)
id
- the id of the new door or window, or null
name
- the name of the new door or windowdescription
- the description of the new door or windowinformation
- additional information associated to the new door or windowtags
- tags associated to the new door or windowcreationDate
- creation date of the new door or window in milliseconds since the epochgrade
- grade of the new door or window or null
icon
- content of the icon of the new door or windowplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new door or windowwidth
- the width in centimeters of the new door or windowdepth
- the depth in centimeters of the new door or windowheight
- the height in centimeters of the new door or windowelevation
- the elevation in centimeters of the new door or windowdropOnTopElevation
- a percentage of the height at which should be placed
an object dropped on the new piecemovable
- if true
, the new door or window is movablecutOutShape
- the shape used to cut out walls that intersect the new door or windowwallThickness
- a value in percentage of the depth of the new door or windowwallDistance
- a distance in percentage of the depth of the new door or windowwallCutOutOnBothSides
- if true
the new door or window should cut out
the both sides of the walls it intersectswidthDepthDeformable
- if false
, the width and depth of the new door or window may
not be changed independently from each othersashes
- the sashes attached to the new door or windowmodelRotation
- the rotation 3 by 3 matrix applied to the door or window modelbackFaceShown
- true
if back face should be shown instead of front facesmodelSize
- size of the 3D model of the new lightcreator
- the creator of the modelresizable
- if true
, the size of the new door or window may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new door or window, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new door or window or null
currency
- the price currency, noted with ISO 4217 code, or null
properties
- additional properties associating a key to a value or null
public CatalogDoorOrWindow(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String information, java.lang.String[] tags, java.lang.Long creationDate, java.lang.Float grade, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, float dropOnTopElevation, boolean movable, java.lang.String cutOutShape, float wallThickness, float wallDistance, boolean wallCutOutOnBothSides, boolean widthDepthDeformable, Sash[] sashes, float[][] modelRotation, int modelFlags, java.lang.Long modelSize, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.String currency, java.util.Map<java.lang.String,java.lang.String> properties)
id
- the id of the new door or window, or null
name
- the name of the new door or windowdescription
- the description of the new door or windowinformation
- additional information associated to the new door or windowtags
- tags associated to the new door or windowcreationDate
- creation date of the new door or window in milliseconds since the epochgrade
- grade of the new door or window or null
icon
- content of the icon of the new door or windowplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new door or windowwidth
- the width in centimeters of the new door or windowdepth
- the depth in centimeters of the new door or windowheight
- the height in centimeters of the new door or windowelevation
- the elevation in centimeters of the new door or windowdropOnTopElevation
- a percentage of the height at which should be placed
an object dropped on the new piecemovable
- if true
, the new door or window is movablecutOutShape
- the shape used to cut out walls that intersect the new door or windowwallThickness
- a value in percentage of the depth of the new door or windowwallDistance
- a distance in percentage of the depth of the new door or windowwallCutOutOnBothSides
- if true
the new door or window should cut out
the both sides of the walls it intersectswidthDepthDeformable
- if false
, the width and depth of the new door or window may
not be changed independently from each othersashes
- the sashes attached to the new door or windowmodelRotation
- the rotation 3 by 3 matrix applied to the door or window modelmodelFlags
- flags which should be applied to piece modelmodelSize
- size of the 3D model of the new lightcreator
- the creator of the modelresizable
- if true
, the size of the new door or window may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new door or window, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new door or window or null
currency
- the price currency, noted with ISO 4217 code, or null
properties
- additional properties associating a key to a value or null
public CatalogDoorOrWindow(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String information, java.lang.String license, java.lang.String[] tags, java.lang.Long creationDate, java.lang.Float grade, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, float dropOnTopElevation, boolean movable, java.lang.String cutOutShape, float wallThickness, float wallDistance, boolean wallCutOutOnBothSides, boolean widthDepthDeformable, Sash[] sashes, float[][] modelRotation, int modelFlags, java.lang.Long modelSize, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.String currency, java.util.Map<java.lang.String,java.lang.String> properties, java.util.Map<java.lang.String,Content> contents)
id
- the id of the new door or window, or null
name
- the name of the new door or windowdescription
- the description of the new door or windowinformation
- additional information associated to the new door or windowlicense
- license of the new door or windowtags
- tags associated to the new door or windowcreationDate
- creation date of the new door or window in milliseconds since the epochgrade
- grade of the new door or window or null
icon
- content of the icon of the new door or windowplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new door or windowwidth
- the width in centimeters of the new door or windowdepth
- the depth in centimeters of the new door or windowheight
- the height in centimeters of the new door or windowelevation
- the elevation in centimeters of the new door or windowdropOnTopElevation
- a percentage of the height at which should be placed
an object dropped on the new piecemovable
- if true
, the new door or window is movablecutOutShape
- the shape used to cut out walls that intersect the new door or windowwallThickness
- a value in percentage of the depth of the new door or windowwallDistance
- a distance in percentage of the depth of the new door or windowwallCutOutOnBothSides
- if true
the new door or window should cut out
the both sides of the walls it intersectswidthDepthDeformable
- if false
, the width and depth of the new door or window may
not be changed independently from each othersashes
- the sashes attached to the new door or windowmodelRotation
- the rotation 3 by 3 matrix applied to the door or window modelmodelFlags
- flags which should be applied to piece modelmodelSize
- size of the 3D model of the new lightcreator
- the creator of the modelresizable
- if true
, the size of the new door or window may be editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new door or window, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new door or window or null
currency
- the price currency, noted with ISO 4217 code, or null
properties
- additional properties associating a key to a value or null
contents
- additional contents associating a key to a value or null
public CatalogDoorOrWindow(java.lang.String name, Content icon, Content model, float width, float depth, float height, float elevation, boolean movable, float wallThickness, float wallDistance, Sash[] sashes, java.lang.Integer color, float[][] modelRotation, boolean backFaceShown, float iconYaw, boolean proportional)
name
- the name of the new door or windowicon
- content of the icon of the new door or windowmodel
- content of the 3D model of the new door or windowwidth
- the width in centimeters of the new door or windowdepth
- the depth in centimeters of the new door or windowheight
- the height in centimeters of the new door or windowelevation
- the elevation in centimeters of the new door or windowmovable
- if true
, the new door or window is movablewallThickness
- a value in percentage of the depth of the new door or windowwallDistance
- a distance in percentage of the depth of the new door or windowsashes
- the sashes attached to the new door or windowcolor
- the color of the door or window as RGB code or null
if door or window color is unchangedmodelRotation
- the rotation 3 by 3 matrix applied to the door or window modelbackFaceShown
- true
if back face should be showniconYaw
- the yaw angle used to create the door or window iconproportional
- if true
, size proportions will be keptpublic CatalogDoorOrWindow(java.lang.String name, Content icon, Content model, float width, float depth, float height, float elevation, boolean movable, float wallThickness, float wallDistance, Sash[] sashes, java.lang.Integer color, float[][] modelRotation, boolean backFaceShown, java.lang.Long modelSize, java.lang.String creator, float iconYaw, boolean proportional)
name
- the name of the new door or windowicon
- content of the icon of the new door or windowmodel
- content of the 3D model of the new door or windowwidth
- the width in centimeters of the new door or windowdepth
- the depth in centimeters of the new door or windowheight
- the height in centimeters of the new door or windowelevation
- the elevation in centimeters of the new door or windowmovable
- if true
, the new door or window is movablewallThickness
- a value in percentage of the depth of the new door or windowwallDistance
- a distance in percentage of the depth of the new door or windowsashes
- the sashes attached to the new door or windowcolor
- the color of the door or window as RGB code or null
if door or window color is unchangedmodelRotation
- the rotation 3 by 3 matrix applied to the door or window modelbackFaceShown
- true
if back face should be shownmodelSize
- size of the 3D model of the new piececreator
- the creator of the modeliconYaw
- the yaw angle used to create the door or window iconproportional
- if true
, size proportions will be keptpublic CatalogDoorOrWindow(java.lang.String name, Content icon, Content model, float width, float depth, float height, float elevation, boolean movable, float wallThickness, float wallDistance, Sash[] sashes, java.lang.Integer color, float[][] modelRotation, int modelFlags, java.lang.Long modelSize, java.lang.String creator, float iconYaw, float iconPitch, float iconScale, boolean proportional)
name
- the name of the new door or windowicon
- content of the icon of the new door or windowmodel
- content of the 3D model of the new door or windowwidth
- the width in centimeters of the new door or windowdepth
- the depth in centimeters of the new door or windowheight
- the height in centimeters of the new door or windowelevation
- the elevation in centimeters of the new door or windowmovable
- if true
, the new door or window is movablewallThickness
- a value in percentage of the depth of the new door or windowwallDistance
- a distance in percentage of the depth of the new door or windowsashes
- the sashes attached to the new door or windowcolor
- the color of the door or window as RGB code or null
if door or window color is unchangedmodelRotation
- the rotation 3 by 3 matrix applied to the door or window modelmodelFlags
- flags which should be applied to the door or window modelmodelSize
- size of the 3D model of the new piececreator
- the creator of the modeliconYaw
- the yaw angle used to create the door or window iconiconPitch
- the pich angle used to create the door or window iconiconScale
- the scale used to create the door or window iconproportional
- if true
, size proportions will be keptpublic float getWallThickness()
getWallThickness
in interface DoorOrWindow
public float getWallDistance()
getWallDistance
in interface DoorOrWindow
public 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.isWallCutOutOnBothSides
in interface DoorOrWindow
public boolean isWidthDepthDeformable()
false
if the width and depth of the new door or window may
not be changed independently from each other.isWidthDepthDeformable
in interface DoorOrWindow
isWidthDepthDeformable
in interface PieceOfFurniture
isWidthDepthDeformable
in class CatalogPieceOfFurniture
public Sash[] getSashes()
getSashes
in interface DoorOrWindow
public java.lang.String getCutOutShape()
getCutOutShape
in interface DoorOrWindow
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.public boolean isDoorOrWindow()
true
.isDoorOrWindow
in interface PieceOfFurniture
isDoorOrWindow
in class CatalogPieceOfFurniture
public boolean isHorizontallyRotatable()
false
.isHorizontallyRotatable
in interface PieceOfFurniture
isHorizontallyRotatable
in class CatalogPieceOfFurniture
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License