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

Creation of phantom operations. More...

#include <templ_s_array.h>
#include <mb_cart_point3d.h>
#include <space_item.h>
#include <op_shell_parameter.h>
#include <op_swept_parameter.h>
#include <position_data.h>
#include <topology_faceset.h>
#include <mb_operation_result.h>

Functions

MbResultType SmoothPhantom (const MbSolid &solid, RPArray< MbCurveEdge > &edges, const SmoothValues &params, RPArray< MbSurface > &result)
 Create phantom surfaces of fillet/chamfer. More...
 
MbResultType SmoothPhantom (const MbSolid &solid, SArray< MbEdgeFunction > &edges, const SmoothValues &params, RPArray< MbSurface > &result)
 Create phantom surfaces of fillet/chamfer. More...
 
MbResultType SmoothPhantom (const MbSmoothPhantomParams &params, MbSmoothPhantomResult &result)
 Create phantom surfaces of fillet/chamfer. More...
 
MbResultType SmoothSequence (const MbSolid &solid, RPArray< MbCurveEdge > &edges, const SmoothValues &params, bool createSurfaces, RPArray< MbEdgeSequence > &sequences, RPArray< MbSurface > &result)
 
MbResultType SmoothSequence (const MbSolid &solid, SArray< MbEdgeFunction > &edges, const SmoothValues &params, bool createSurfaces, RPArray< MbEdgeSequence > &sequences, RPArray< MbSurface > &result)
 
MbResultType SmoothSequence (const MbSmoothSequenceParams &params, MbSmoothSequenceResult &result)
 Create a sequence of smoothly connected edges. More...
 
MbResultType OffsetPhantom (const MbSolid &solid, RPArray< MbFace > &outFaces, RPArray< MbFace > &offFaces, SArray< double > &offDists, const SweptValues &params, const MbSNameMaker &operNames, MbFaceShell *&result, size_t *hpShellFaceInd=nullptr)
 Create phantom offset surfaces for faces of a shell. More...
 
MbResultType LocalCubePhantom (const MbSolid &solid, const MbLocalCubePhantomParams &params, c3d::SolidSPtr &result)
 Create a phantom of a bounding box in local coordinate system. More...
 
bool TruncatDirection (const MbCurveEdge &truncatingEdge, MbPlacement3D &dirPlace)
 Determine a phantom direction of truncation. More...
 
MbResultType SmoothPositionData (const MbSolid &solid, RPArray< MbCurveEdge > &edges, const SmoothValues &params, RPArray< MbPositionData > &result, double edgeParam=0.5, const MbCurveEdge *dimensionEdge=nullptr)
 Create support points of fillet/chamfer operation sizes. More...
 
MbResultType SmoothPositionData (const MbSolid &solid, SArray< MbEdgeFunction > &edges, const SmoothValues &params, RPArray< MbPositionData > &result, double edgeParam=0.5, const MbCurveEdge *dimensionEdge=nullptr)
 Create support points of fillet/chamfer operation sizes. More...
 
MbResultType SmoothPositionData (const MbSmoothPositionDataParams &params, MbSmoothPositionDataResults &result)
 Create support points of fillet/chamfer operation sizes. More...
 
MbFunctionCreateFunction (const MbCurve3D &curve, const MbPlacement3D &place, size_t coordinate)
 Create a function by one of three coordinates of curve. More...
 
c3d::FunctionSPtr CreateFunction (const MbCurve &curve, const MbFunctionParameters &params)
 Create a scalar function by Y-coordinate of curve. More...
 
MbResultType SectionPhantom (const MbSectionData &sectionData, MbSectionPhantom &sctionPhantom)
 Calculation of the phantom data for the ends of the mutable section surface. More...
 
MbResultType SectionPhantom (const MbSectionData &sectionData, MbPlacement3D &begPlace, MbCartPoint3D &begGuideP1, MbCartPoint3D &begGuideP2, MbVector3D &begVector1, MbVector3D &begVector2, MbCartPoint3D &begApex, MbPlacement3D &endPlace, MbCartPoint3D &endGuideP1, MbCartPoint3D &endGuideP2, MbVector3D &endVector1, MbVector3D &endVector2, MbCartPoint3D &endApex)
 Calculation of the phantom data for the ends of the mutable section surface. More...
 

Detailed Description

Creation of phantom operations.