Describes a part of a surface limited by wires. Face resides on a geometrical surface and is bounded by one or several wires. A face must always have at least one explicit outer wire even if it corresponds to a naturally bounded surface (e.g. torus or a sphere).
new Face(
surface,outerWire):Face
Surface of the face.
Outer boundary of the surface.
triangulation:
null|FaceTriangulation=null
Polygonal representation of face.
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 outerWire():
Wire
Returns outer wire.
get surface():
Surface
Returns underlying surface.
get type():
ShapeType
Type of the topological object.
append(
wire):boolean
Appends new wire to the face.
Returns true if wire was added, false otherwise (i.e. if wire already presented in this face).
Appended wire.
boolean