Members
height :number
The height of the model.
Type:
- number
- Source:
output :string
The extracted output from execution of the .scad file.
Type:
- string
- Source:
vertices :Array.<Vertex>
A list of 2D vertices returned from the .scad file execution.
Type:
- Array.<Vertex>
- Source:
width :number
The width of the model.
Type:
- number
- Source:
Methods
isWithinBoundingBox(boundingBox) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
boundingBox |
BoundingBox | The 2D box which the model should fit inside. It is considered 'within' if any coordinate is equal to, or within the box. |
- Source:
Returns:
True if the model fits within the bounding box.
- Type
- boolean