C3D Toolkit  Kernel - 118069, Vision - 2.16.7.1844
action_polymesh.h File Reference

Functions for construction of the polygonal geometric object with topology. More...

#include <mb_cart_point.h>
#include <mb_cart_point3d.h>
#include <mb_operation_result.h>
#include <curve3d.h>
#include <topology_faceset.h>

Functions

MbResultType CreatePolymeshByShell (const MbShellLinearizationParams &params, const MbFaceShell &shell, MbPolymesh &mesh)
 Create the polymesh by the shell. More...
 
MbResultType CreatePolymeshByShell (const MbShellLinearizationParams &params, const MbFaceShell &shell, MbPolymesh &mesh, MbShellLinearizationResults &results)
 Create the polymesh by the shell. More...
 
void GetConnectedFacetGroups (const MbPolymesh &mesh, const c3d::IndicesVector &facets, std::vector< c3d::IndicesVector > &groups)
 Get connected groups from facets. More...
 
void GetConnectedRegionGroups (const MbPolymesh &mesh, const c3d::IndicesVector &regions, std::vector< c3d::IndicesVector > &groups)
 Get connected groups from regions. More...
 
void GetPolymeshRegions (const MbPolymesh &mesh, const MbHalfedgeBoundaryCriterionBase &crit, std::vector< c3d::IndicesVector > &facets)
 Divide a polymesh into regions according to a given boundary criterion. More...
 
void GetPolymeshRegion (const MbPolymesh &mesh, const MbHalfedgeBoundaryCriterionBase &crit, size_t seed, c3d::IndicesVector &facets)
 Get the region containing a given facet according to a given boundary criterion. More...
 
void GetPolymeshRegionBoundaries (const MbPolymesh &mesh, const c3d::IndicesVector &region, std::vector< c3d::IndicesVector > &boundaries)
 Get the boundary edges of a given region. More...
 
void GetPolymeshOpenBoundaries (const MbPolymesh &mesh, std::vector< c3d::IndicesVector > &boundaries)
 Get the open boundary edges of a polymesh. More...
 
void GetSegmOpenBoundaries (const MbPolymesh &mesh, std::vector< c3d::IndicesVector > &boundaries)
 Get open segmentation boundaries. More...
 
MbResultType PolymeshSection (const MbPolymesh &mesh, const MbPlacement3D &place, c3d::SpaceCurvesSPtrVector &polylines)
 Create a section contour for a polygonal object. More...
 
bool CutPolymeshByPlane (const MbPlacement3D &place, bool bTriangulate, MbPolymesh &mesh)
 Cut the part of a polygonal object by a plane. More...
 
MbResultType ImprintOnPolymesh (const MbPolymeshImprintParams &params, MbPolymesh &mesh, MbPolymeshImprintResults &results)
 Imprint a 2D line or a plane on a polygonal object. More...
 
void CopyPolymeshPart (const MbPolymesh &mesh, const c3d::IndicesVector &facets, MbPolymesh &meshSub)
 Copy the part of a polygonal object into another polygonal object. More...
 
bool IsPolymeshTriangulation (const MbPolymesh &mesh)
 Verify if polymesh is triangulation. More...
 
MbResultType Remesh (const MbRemeshParams &params, MbPolymesh &mesh)
 Remesh a polygonal object. More...
 
MbResultType CalculatePolymeshCurvatures (const MbMeshCurvatureParams &params, MbPolymesh &mesh)
 Calculates mesh curvatures. More...
 
MbResultType DrapeShell (const MbDrapeShellParams &params, MbDrapeShellResults &results)
 Drap a shell with fabric. More...
 
MbResultType MergePolymeshes (const MbPolymesh &meshFrom, const MbMergePolymeshParams &params, MbPolymesh &meshTo)
 Merge a polygonal object with another polygonal object. More...
 
MbResultType SmoothPolymesh (const MbMeshSmoothingParams &params, MbPolymesh &mesh)
 Smooth a polygonal object using a set of input smoothing parameters. More...
 
MbResultType ProjectPolylineOnPolymesh (MbPolymesh &mesh, const MbPolylinePolymeshProjectParams &params, MbPolylinePolymeshProjectResults &results)
 Project a polyline on a polygonal object. More...
 
MbResultType FillClosedCurve (const MbFillClosedCurveParams &params, MbPolymesh &patch)
 Fill a hole defined by a closed curve. More...
 
MbResultType FillPolymeshHole (const MbFillPolymeshHoleParams &params, MbPolymesh &mesh)
 Fill a polygonal object hole. More...
 
MbResultType CalculatePolymeshNormals (const MbPolymeshNormalsParams &params, MbPolymesh &mesh)
 Calculate normal vectors at the vertices of a polygonal object. More...
 
MbResultType CutPolymeshByCurves (const MbCurvePolymeshProjectParams &params, MbPolymeshProjectResults &results, MbPolymesh &mesh)
 Cut a polygonal object by a set of curves. More...
 
MbResultType OffsetPolymeshPath (const MbPathPolymeshOffsetParams &params, MbPolymeshProjectResults &results, MbPolymesh &mesh)
 Offset polymesh edge paths. More...
 
MbResultType PolymeshBoolean (const MbPolymeshBooleanParams &params, MbPolymeshBooleanResults &results, MbPolymesh &mesh0, MbPolymesh &mesh1)
 Boolean operation for two polygonal objects. More...
 
MbResultType IntersectPolymeshes (const MbIntersectPolymeshesParams &params, const MbPolymesh &mesh0, const MbPolymesh &mesh1, MbIntersectPolymeshesResults &results)
 Finds the intersection contours between two polygonal objects. If two identical objects are passed, it returns the self-intersection contours. More...
 
MbResultType PolymeshOffset (const MbPolymeshOffsetParams &params, const MbPolymesh &mesh, MbPolymeshOffsetResults &results)
 Offset for a polygonal object. More...
 
MbResultType PolymeshDart (const MbPolymeshDartParams &params, MbPolymesh &mesh)
 Create a triangular dart at the edge of the polygonal object. More...
 
MbResultType PolymeshToNurbsShell (const MbPolymeshToNurbsShellParams &params, const MbPolymesh &mesh, MbPolymeshToNurbsShellResults &results, c3d::ShellSPtr &nurbsShell)
 Build a NURBS-shell from a polygonal object. More...
 

Detailed Description

Functions for construction of the polygonal geometric object with topology.

Polygonal geometric objects can be constructed using a set of points or on the basis of other objects.