API Reference > FacetModeler Namespace > Classes > Body Class
Body Class
FacetModeler__Body
Syntax
C++
class Body;

FMMdlBody.h

Represents facet body objects.

 
Name 
Description 
 
Destructor. 
 
Body 
This is the overview for the Body constructor overload. 
 
Name 
Description 
 
Empty body object. 
 
Name 
Description 
 
This is the overview for the addFace method overload. 
 
Adds the specified surface to the body.
 
 
This is the overview for the addVertex method overload. 
 
Performs a boolean operation destroying both operands.
 
 
box 
Creates a box.
 
 
Gets the cached edge count.
 
 
Checks the body for validity.
 
 
Clears the body. 
 
Resets body tags.
 
 
Resets edge tags.
 
 
Resets face flags.
 
 
Resets face tags.
 
 
Resets body tags.
 
 
Resets vertex tags.
 
 
Creates a copy of the body.
 
 
Combines this body and operand into a single body.
 
 
Checks whether the body has non-manifold edges.
 
 
Counts and returns the number of edges.
 
 
Creates a custom body from the specified definition arrays.
 
 
Decomposes the body into one or more lump bodies.
 
 
Removes and deletes a face.
 
 
Deletes surfaces that are not set to any face 
 
Deletes unused vertices from the body. 
 
This is the overview for the extrusion method overload. 
 
Gets a faces count.
 
 
Gets a face list.
 
 
Creates triangles mesh representing this body.
 
 
Checks whether the body has coincident edges.
 
 
Checks whether the body has coincident vertices.
 
 
Intersects this body with the given line.
 
 
Gets geometric extents.
 
 
Checks whether the body is closed (any face is connected to another one at any edge).
 
 
Checks whether the body is empty.
 
 
Merges coincident vertices.
 
 
Merges coplanar faces and collinear edges. 
 
Inverts the body. 
 
Creates a pyramid.
 
 
Regenerates pair edges. 
 
Removes a face.
 
 
This is the overview for the revolution method overload. 
 
Sets face and edge colors to the specified value.
 
 
Sets the count of faces to the specified number.
 
 
Sets the pointer to the first face of the body.
 
 
Sets the count of surfaces to the specified number.
 
 
Sets the pointer to the first surface of the body.
 
 
Sets the first tag.
 
 
Sets the count of vertices to the specified number.
 
 
Sets the pointer to the first vertex of the body.
 
 
Reduces the number of primitives (vertices and faces).
 
 
This is the overview for the slice method overload. 
 
Splits a single face with a plane while preserving topology.
 
 
Gets a surface count.
 
 
Gets a surface list.
 
 
tag 
Gets the first tag.
 
 
Transforms the body by the specified matrix.
 
 
Gets a vertex count.
 
 
Gets a vertex list.
 
 
Calculates volume.
 
 
Name 
Description 
 
!= 
Checks if the body is not equal to the specified body.
 
 
= 
Assignment operator.
 
 
== 
Checks if the body is equal to the specified body.
 
Copyright © 2002-2020. Open Design Alliance. All rights reserved.