C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
action_direct.h File Reference

Functions for direct editing of solids. More...

#include <templ_s_array.h>
#include <templ_array2.h>
#include <templ_rp_array.h>
#include <hash32.h>
#include <mb_enum.h>
#include <op_direct_mod_parameter.h>

Functions

MbResultType TransformedSolid (MbSolid &solid, MbeCopyMode sameShell, const TransformValues &p, const MbSNameMaker &names, MbSolid *&result)
 Modify a solid by the matrix. More...
 
bool CollectFacesForModification (const MbFaceShell &shell, const MbCollectFacesParams &parameters, c3d::FacesVector &outputFaces)
 Collect faces for direct modeling methods. More...
 
MbResultType CollectFacesForModification (MbFaceShell *shell, MbeModifyingType way, double radius, RPArray< MbFace > &faces)
 Modify a shell by the methods of direct modeling. More...
 
MbResultType ModifiedSolid (MbSolid &solid, MbeCopyMode sameShell, const MbModifiedSolidParams &params, MbModifiedSolidResults &results)
 Modify a solid by the methods of direct modeling. More...
 
MbResultType FaceModifiedSolid (MbSolid &solid, MbeCopyMode sameShell, const ModifyValues &params, const RPArray< MbFace > &faces, const MbSNameMaker &names, MbSolid *&result)
 Modify a solid by the methods of direct modeling. More...
 
MbResultType EdgeModifiedSolid (MbSolid &solid, MbeCopyMode sameShell, const ModifyValues &params, const RPArray< MbCurveEdge > &edges, const MbSNameMaker &names, MbSolid *&result)
 Modify a solid by the methods of direct modeling. More...
 
MbResultType ModifiedNurbsItem (MbSolid &solid, MbeCopyMode sameShell, const NurbsValues &p, const RPArray< MbFace > &faces, const MbSNameMaker &names, MbSolid *&result)
 Replace the specified faces of solid with deformable faces. More...
 
MbResultType ModifiedNurbsItem (MbSolid &solid, MbeCopyMode sameShell, const NurbsValues &p, const MbFace &face, const MbSNameMaker &names, MbSolid *&result)
 Replace the specified face of the solid by a deformable face. More...
 
MbSurfaceGetControlSurface (const MbFace &face)
 Get the NURBS-surfaces of a face. More...
 
MbResultType FaceControlPoints (const MbFace &face, Array2< MbCartPoint3D > &controlPoints, Array2< double > &result)
 Get the control points of the NURBS-surface of a face. More...
 
MbResultType NurbsModification (MbSolid &solid, MbeCopyMode sameShell, MbFace *face, MbSurface &faceSurface, Array2< bool > &fixedPoints, const MbSNameMaker &names, MbSolid *&result)
 Deform a face of a solid. More...
 
MbResultType NurbsModification (MbSolid &solid, MbeCopyMode sameShell, MbFace *face, const Array2< MbCartPoint3D > &controlPoints, const Array2< double > &weights, Array2< bool > *fixedPoints, const MbSNameMaker &names, MbSolid *&result)
 Deform a face of a solid. More...
 
MbResultType NurbsBlockSolid (const MbPlacement3D &place, double ax, double ay, double az, bool outDir, const MbSNameMaker &names, SimpleName name, NurbsBlockValues &param, MbSolid *&result)
 Create a deformable prism. More...
 
MbResultType NurbsFaceConjugation (const MbSurfaceIntersectionCurve &curve, bool sences, bool faceSences, const MbSplineSurface &surface, double tension, MbeConjugationType conType, size_t insertNum, MbSplineSurface *&result)
 Create a matched surface. More...
 
MbResultType NurbsFaceSimilarity (const MbSurface &originSurface, const MbSplineSurface &surface, bool uToU, bool normSence, MbSplineSurface *&result)
 Create a similar surface. More...
 
MbResultType SplineSurfaceSmoothing (const MbSplineSurface &surface, size_t udegree, size_t vdegree, MbSplineSurface *&result)
 Create a smoothed surface. More...
 

Detailed Description

Functions for direct editing of solids.

The direct modeling allows to edit and to create similar solids by direct modification of elements of already constructed solids.
\~