Describes a part of space limited by shells.
new Solid(
shell):Solid
Shell.
get id():
bigint
Returns object id.
bigint
get name():
null|string
Returns name of the Shape. null if the element has no name (by default).
null | string
set name(
name):void
Sets name of the Shape.
Name of the Shape.
null | string
void
get type():
ShapeType
Type of the topological object.
append(
shell):boolean
Appends new shell to the set.
Returns true if shell was added, false otherwise (i.e. if shell already presented in this solid).
Appended shell.
boolean
computeCompoundTriangulation(
defaultMaterial):ShapeCompoundTriangulation<false>
Computes compound polygonal representation of child shapes.
ShapeCompoundTriangulation<false>
computeCompoundTriangulation(
defaultMaterial):ShapeCompoundTriangulation<true>
Computes compound polygonal representation of child shapes.
null | VisualMaterial