Describes a part of space limited by shells.
new Solid(
shell):Solid
Shell.
Solid
get id():
bigint
Returns object id.
bigint
get name():
string|null
Returns name of the Shape. null if the element has no name (by default).
string | null
set name(
name):void
Sets name of the Shape.
Name of the Shape.
string | null
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.
VisualMaterial | null