...
Methods
bisect3d(opts, geom)
Cuts a given geometry in half.
Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
opts |
Object |
Properties
|
||||||
geom |
Object | Object we're cutting |
Returns:
bisected geometry
cutCircularSlice(opts, geom)
Cuts a slice of an object
Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
opts |
Object |
Properties
|
||||||
geom |
Object | Object we're cutting |
Returns:
bisected geometry
(static) cloneQuadrant(inShape)
Clones one quadrant of the given 2D shape into all quadrants.
Parameters:
| Name | Type | Description |
|---|---|---|
inShape |
object | geom2 object |
Returns:
2D geometry with cloned quadrants
(static) cutQuadrant(inShape)
Cuts one quadrant of the given 2D shape
Parameters:
| Name | Type | Description |
|---|---|---|
inShape |
object | geom2 object |
Returns:
2D geometry of one quadrant from the given shape
(static) stack(opts, geoms) → {Array.<object>}
Stacks geometries on top of each other, starting from the bottom
Parameters:
| Name | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
opts |
object |
Properties
|
||||||||
geoms |
Array.<object> | array of geom3 objects |
Returns:
array of stacked geom3 objects
- Type
- Array.<object>