MAGiC  V5.0
Mailleurs Automatiques de Géometries intégrés à la Cao
Référence du fichier CAD4FE_api_sw_tool.h
#include <vector>
#include <map>
#include <Atl/atlbase.h>
#include <Atl/atlmod.h>
#include <SwConst_TLB.h>
#include <SldWorks_TLB.h>
#include <smartvars.h>
Graphe des dépendances par inclusion de CAD4FE_api_sw_tool.h:
Ce graphe montre quels fichiers incluent directement ou indirectement ce fichier :

Aller au code source de ce fichier.

Macros

#define SW_VERSION   2012
 
#define FACENAME_FORMAT   "F %d "
 
#define FACENAME_STRLEN   64
 
#define EDGENAME_FORMAT   "E %d "
 
#define EDGENAME_STRLEN   64
 
#define VERTEXNAME_FORMAT   "Vertex %f, %f, %f "
 
#define VERTEXNAME_STRLEN   64
 

Fonctions

CAD4FE_COMMON_ITEM void SW_CoCreateInstance (CComPtr< ISldWorks > &__swApp)
 
CAD4FE_COMMON_ITEM void SW_ExitApp (CComPtr< ISldWorks > &__swApp)
 
CAD4FE_COMMON_ITEM void SW_App_CreateBoundaryConditionAttributeDef (CComPtr< ISldWorks > &__swApp, CComPtr< IAttributeDef > &DefAttrConditionLimite)
 
CAD4FE_COMMON_ITEM int SW_OpenDoc (const CComPtr< ISldWorks > &__swApp, char *filename, CComPtr< IModelDoc2 > &__swModel, char __configuration[]="")
 
CAD4FE_COMMON_ITEM void SW_CloseDoc (CComPtr< IModelDoc2 > &__swModel)
 
CAD4FE_COMMON_ITEM void SW_CloseDoc (const CComPtr< ISldWorks > &__swApp, char *filename)
 
CAD4FE_COMMON_ITEM void SW_GetActiveDoc (const CComPtr< ISldWorks > &__swApp, CComPtr< IModelDoc2 > &__swModel)
 
CAD4FE_COMMON_ITEM DWORD WINAPI SW_App_SendMsgToUser_Ok (void *pointerSW)
 
CAD4FE_COMMON_ITEM void SW_RibFeature_GetDefinition (CComPtr< IFeature > __swFeature, CComPtr< IRibFeatureData2 > &__swFeatData)
 
CAD4FE_COMMON_ITEM int SW_Feature_TestAttribute (CComPtr< IFeature > &__swFeature, CComPtr< IAttributeDef > &)
 
CAD4FE_COMMON_ITEM int SW_Feature_Select (CComPtr< IFeature > __swFeature, CComPtr< ISelectData > __swSelData)
 
template<class T >
CAD4FE_COMMON_ITEM void SW_Feature_GetDefinition (CComPtr< IFeature > __swFeature, CComPtr< T > &__swFeatData)
 
CAD4FE_COMMON_ITEM int SW_Feature_Suppress (CComPtr< IModelDoc2 > &__swModel, CComPtr< IFeature > &__swFeature)
 
CAD4FE_COMMON_ITEM void SW_Feature_GetBoundingBox (CComPtr< IModelDoc2 > &__swModel, CComPtr< IFeature > &__swFeature, double __bbox[6])
 
CAD4FE_COMMON_ITEM void SW_Feature_GetProjectionPlane (CComPtr< IFeature > swFeature, double planeRootPoint[3], double planeNormal[3])
 
CAD4FE_COMMON_ITEM void SW_Feature_GetProjectionPlane2 (CComPtr< IFeature > __swFeature, CComPtr< IModelDoc2 > __swModel, double planeRootPoint[3], double planeNormal[3])
 
CAD4FE_COMMON_ITEM void SW_Feature_GetPoint (CComPtr< IFeature > &pFeature, double xyzFeature[3])
 
CAD4FE_COMMON_ITEM bool SW_Feature_IsSuppressed (CComPtr< IModelDoc2 > &__swModel, CComPtr< IFeature > &__swFeature)
 
CAD4FE_COMMON_ITEM void SW_SimpleFilletFeature_GetDefinition (CComPtr< IFeature > __swFeature, CComPtr< ISimpleFilletFeatureData2 > &__swFeatData)
 
CAD4FE_COMMON_ITEM double SW_SimpleFilletFeatureData_GetRadius (CComPtr< ISimpleFilletFeatureData2 > __swFeatData)
 
CAD4FE_COMMON_ITEM int SW_SimpleFilletFeatureData_GetItemsCount (CComPtr< ISimpleFilletFeatureData2 > __swFeatData)
 
CAD4FE_COMMON_ITEM void SW_SimpleFilletFeatureData_ReleaseSelectionAccess (CComPtr< ISimpleFilletFeatureData2 > __swFeatData)
 
CAD4FE_COMMON_ITEM void SW_SimpleFilletFeatureData_AccessSelections (CComPtr< ISimpleFilletFeatureData2 > __swFeatData, CComPtr< IModelDoc2 > __swModel)
 
CAD4FE_COMMON_ITEM std::multimap< int, CComPtr< IEdge > > SW_GetItemEdges (LPUNKNOWN punk_item)
 
CAD4FE_COMMON_ITEM std::multimap< int, CComPtr< IEdge > > SW_Loop_GetEdges (CComPtr< ILoop2 > __swLoop)
 
CAD4FE_COMMON_ITEM std::multimap< int, CComPtr< IEdge > > SW_Face_GetEdges (CComPtr< IFace2 > __swFace)
 
CAD4FE_COMMON_ITEM int SW_Face_GetMaterialProperties (CComPtr< IFace2 > &swFace, std::vector< double > &)
 
CAD4FE_COMMON_ITEM int SW_Face_GetMaterialProperties (CComPtr< IFace2 > &swFace, unsigned char rgba[4])
 
CAD4FE_COMMON_ITEM double SW_SimpleFilletFeatureData_GetRadiusAtItem (CComPtr< ISimpleFilletFeatureData2 > __swFeatData, LPUNKNOWN __item)
 
CAD4FE_COMMON_ITEM void SW_SimpleFilletFeatureData_GetItemAtIndex (CComPtr< ISimpleFilletFeatureData2 > __swFeatData, int __index, LPUNKNOWN &__item)
 
CAD4FE_COMMON_ITEM void SW_ChamferFeature_GetDefinition (CComPtr< IFeature > __swFeature, CComPtr< IChamferFeatureData2 > &__swFeatData)
 
CAD4FE_COMMON_ITEM void SW_ChamferFeatureData_GetAngleDistance (CComPtr< IChamferFeatureData2 > &swFeatData, double *angle, double *distance)
 
CAD4FE_COMMON_ITEM void SW_Face_GetBox (CComPtr< IFace2 > __swFace, double __bbox[6])
 
CAD4FE_COMMON_ITEM void SW_Face_GetBoxTessellation (CComPtr< IFace2 > &__swFace, double __bbox[6])
 
CAD4FE_COMMON_ITEM long SW_Face_GetLoopCount (CComPtr< IFace2 > __swFace)
 
CAD4FE_COMMON_ITEM int SW_Face_TestAttribute (CComPtr< IFace2 > &__swFace, CComPtr< IAttributeDef > &)
 
void SW_Face_GetProjectionPlane (CComPtr< IFace2 > selectedFace1, double __rootPoint[3], double __normal[3])
 
void SW_Face_CreateTangentPlaneAtCenter (CComPtr< IModelDoc2 > __swModel, CComPtr< IFace2 > __swFace, double __rootPoint[3], double __XVector[3], double __normal[3], CComPtr< IRefPlane > &__swRefPlane)
 
CAD4FE_COMMON_ITEM int SW_Face_IsRevolved (CComPtr< IFace2 > __swFace)
 
CAD4FE_COMMON_ITEM void SW_Face_ClosetPointOnContour (CComPtr< IFace2 > __swFace, double __point[3], double __result[3])
 
CAD4FE_COMMON_ITEM int SW_Face_ReverseEvaluate0 (CComPtr< IFace2 > __swFace, double __pos[3], double __uv[2])
 
CAD4FE_COMMON_ITEM void SW_Face_GetCenterPoint (CComPtr< IFace2 > __swFace, CComPtr< IModelDoc2 > __swModel, double __result[3])
 
CAD4FE_COMMON_ITEM void SW_Face_GetClosestPointOn (CComPtr< IFace2 > __swFace, double __point[3], double __result[3])
 
CAD4FE_COMMON_ITEM int SW_Face_GetId (CComPtr< IFace2 > __swFace)
 
CAD4FE_COMMON_ITEM int SW_FaceEdge_UVBox (CComPtr< IEdge > edge, CComPtr< IFace2 > face, double startUV[2], double endUV[2])
 
CAD4FE_COMMON_ITEM int SW_Face_GetUVBounds (CComPtr< IFace2 > face, double *bbox)
 
CAD4FE_COMMON_ITEM bool SW_Face_IsUPeriodic (CComPtr< IFace2 > face)
 
CAD4FE_COMMON_ITEM bool SW_Face_IsVPeriodic (CComPtr< IFace2 > face)
 
void CAD4FE_COMMON_ITEM SW_Surface_Parameterization (CComPtr< ISurface > __swSurface, double __uRange[2], double __vRange[2], int __uBoundType[2], int __vBoundType[2], int __uProps[4], int __vProps[4], int __numProps[2])
 
CAD4FE_COMMON_ITEM void SW_FindCommonVertexBetweenTwoAdjacentEdges (CComPtr< IEdge > __swEdge1, CComPtr< IEdge > __swEdge2, CComPtr< IVertex > &__swVertex)
 
CAD4FE_COMMON_ITEM int SW_Edge_GetParameters (CComPtr< IEdge > __swEdge, double *__startUParam, double *__endUParam, double *__startPt, double *__endPt, double *__startTanDir, double *__endTanDir, int *_curveType, int *_senseFlag)
 
CAD4FE_COMMON_ITEM int SW_Edge_Select (CComPtr< IEdge > __swEdge, CComPtr< ISelectData > __swSelData)
 
CAD4FE_COMMON_ITEM void SW_Edge_GetBody (CComPtr< IEdge > __swEdge, CComPtr< IBody2 > &__swBody)
 
CAD4FE_COMMON_ITEM void SW_Edge_EvaluateAtVertex (CComPtr< IEdge > __swEdge, CComPtr< IVertex > __swVertex, double __point[3], double __tangent[3])
 
CAD4FE_COMMON_ITEM int SW_Edge_TestAttribute (CComPtr< IEdge > &__swEdge, CComPtr< IAttributeDef > &)
 
void SW_Edge_GetClosestPointOn (CComPtr< IEdge > __swEdge, double __point[3], double __result[3])
 
double SW_Edge_GetDistanceToPoint (CComPtr< IEdge > __swEdge, double __point[3])
 
CAD4FE_COMMON_ITEM void SW_Edge_GetTangentEdgesPropagation2 (CComPtr< IEdge > __swEdge, std::multimap< int, CComPtr< IEdge > > &__tangentEdges, int &__maxEdgeId)
 
CAD4FE_COMMON_ITEM int SW_Curve_Evaluate (CComPtr< ICurve > curve, double U, double point[3], double tangent[3])
 
CAD4FE_COMMON_ITEM long SW_Curve_GetIdentity (CComPtr< ICurve > __swCurve)
 
CAD4FE_COMMON_ITEM bool SW_Curve_IsCircle (CComPtr< ICurve > __swCurve)
 
CAD4FE_COMMON_ITEM bool SW_Curve_IsLine (CComPtr< ICurve > __swCurve)
 
CAD4FE_COMMON_ITEM bool SW_Curve_IsBspline (CComPtr< ICurve > __swCurve)
 
CAD4FE_COMMON_ITEM void SW_Edge_EvaluateCurvilinearDistancePoint (CComPtr< IEdge > __swEdge, CComPtr< IVertex > __swVertex, double __L, double *__LResult, double *__t, double __X[3])
 
CAD4FE_COMMON_ITEM void SW_Edge_Tessellate (CComPtr< IEdge > &__swEdge, double __startPnt[3], double __endPnt[3], std::vector< double > &__result)
 
CAD4FE_COMMON_ITEM void SW_Edge_Tessellate (CComPtr< IEdge > &__swEdge, double __maxSize, std::vector< double > &__result)
 
CAD4FE_COMMON_ITEM void SW_Edge_Tessellate (CComPtr< IEdge > &__swEdge, double __uStart, double __uEnd, std::vector< double > &__result)
 
CAD4FE_COMMON_ITEM void SW_Face_EvaluateAtPoint (CComPtr< IFace2 > __swFace, double __pos[3], double *__faceNormal, double *__firstPrincipalDirection=NULL, double *__secondPrincipalDirection=NULL, double *__firstPrincipalCurvature=NULL, double *__secondPrincipalCurvature=NULL)
 
CAD4FE_COMMON_ITEM int SW_Face_Select (CComPtr< IFace2 > __swFace, CComPtr< ISelectData > __swSelData)
 
CAD4FE_COMMON_ITEM void SW_Body_MaxEdgeId (CComPtr< IBody2 > __swBody, int *__id)
 
CAD4FE_COMMON_ITEM void SW_Body_GetBodyBox (CComPtr< IBody2 > __swBody, double __bbox[6])
 
CAD4FE_COMMON_ITEM void SW_Body_GetBodyBox (CComPtr< IBody2 > __swBody, double __lowerDiagCorner[3], double __upperDiagCorner[3])
 
CAD4FE_COMMON_ITEM void SW_Edge_SetId (CComPtr< IEdge > __swEdge, int id)
 
CAD4FE_COMMON_ITEM int SW_Edge_GetId (CComPtr< IEdge > __swEdge)
 
CAD4FE_COMMON_ITEM int SW_Edge_Evaluate (CComPtr< IEdge > edge, double U, double point[3], double tangent[3])
 
CAD4FE_COMMON_ITEM int SW_Edge_Evaluate_CheckDomain (CComPtr< IEdge > edge, double U, double point[3], double tangent[3])
 
CAD4FE_COMMON_ITEM int SW_Edge_Evaluate_CheckDomain (CComPtr< IEdge > edge, double StartUParam, double EndUParam, double U, double point[3], double tangent[3])
 
CAD4FE_COMMON_ITEM void SW_Edge_ReverseEvaluate (CComPtr< IEdge > __swEdge, double __pos[3], double *__u, double __tanDir[3])
 
void SW_Edge_ReverseEvaluate (CComPtr< IEdge > __swEdge, double __pos[3], double *__u)
 
CAD4FE_COMMON_ITEM void SW_GetEdgeBounds (CComPtr< IEdge > __swEdge, double *__startParam, double *__endParam)
 
CAD4FE_COMMON_ITEM void SW_GetEdgeBounds (CComPtr< IEdge > __swEdge, double *__startParam, double *__endParam, double __startPnt[3], double __endPnt[3])
 
CAD4FE_COMMON_ITEM double SW_Edge_GetLength (CComPtr< IEdge > __swEdge)
 
CAD4FE_COMMON_ITEM int SW_Surface_Evaluate1 (CComPtr< ISurface > surface, double U, double V, double point[3], double DU[3], double DV[3], double normal[3])
 
CAD4FE_COMMON_ITEM int SW_Surface_Evaluate1 (CComPtr< IFace2 > face, double U, double V, double point[3], double DU[3], double DV[3], double normal[3])
 
CAD4FE_COMMON_ITEM void SW_Face_RandomCreatePoint (CComPtr< IFace2 > __swFace, double __uvBounds[4], double __result[3])
 
CAD4FE_COMMON_ITEM void SW_Face_Evaluate0 (CComPtr< IFace2 > __swFace, double uv[2], double __result[3])
 
CAD4FE_COMMON_ITEM int SW_Surface_Evaluate2 (CComPtr< ISurface > surface, double U, double V, double evaluatedPoint[3], double DerU[3], double DerV[3], double DerUV[3], double DerUU[3], double DerVV[3], double normal[3], int *numUDerivs, int *numVDerivs, long *surfIdentity)
 
CAD4FE_COMMON_ITEM int SW_Surface_Evaluate2 (CComPtr< IFace2 > __swFace, double U, double V, double evaluatedPoint[3], double DerU[3], double DerV[3], double DerUV[3], double DerUU[3], double DerVV[3], double normal[3], int *numUDerivs, int *numVDerivs, long *surfIdentity)
 
CAD4FE_COMMON_ITEM int SW_Surface_Evaluate3 (CComPtr< ISurface > surface, double U, double V, double evaluatedPoint[3], double DerU[3], double DerV[3], double DerUV[3], double DerUU[3], double DerVV[3], double normal[3], int *numUDerivs, int *numVDerivs, long surfIdentity=-516)
 
CAD4FE_COMMON_ITEM int SW_FaceEdge_ReverseEvaluate (CComPtr< IEdge > edge, CComPtr< IFace2 > face, double U, double UV[2])
 
CAD4FE_COMMON_ITEM double * swEdgeGetTessPts (CComPtr< IEdge > &__swEdge, int *__size, double nChordTol=0.000001, double nLengthTol=0.000001)
 
CAD4FE_COMMON_ITEM void SW_Sketch_GetPlaneParams (CComPtr< ISketch > &__swSketch, double __origin[3], double __normal[3], double __XVector[3])
 
CAD4FE_COMMON_ITEM void SW_SketchSegment_GetTessPts (CComPtr< ISketchSegment > &__swSketchSegment, double *__tessPts, int *__size, double nChordTol=.001, double nLengthTol=.001)
 
CAD4FE_COMMON_ITEM void SW_Face_GetTessTriangles (CComPtr< IFace2 > __swFace, long *__triangleCount, SafeDoubleArray **)
 
CAD4FE_COMMON_ITEM void SW_Face_GetTessTriangles (CComPtr< IFace2 > __swFace, long *__triangleCount, double **__tessPts)
 
CAD4FE_COMMON_ITEM int SW_CoEdge_GetFaceInteriorDirection (CComPtr< IEdge > __swEdge, CComPtr< IFace2 > __swFace, double __X[3], double __D[3])
 
void CAD4FE_COMMON_ITEM SW_GetEdgeFaces (CComPtr< IEdge > __swEdge, CComPtr< IFace2 > &__swFace1, CComPtr< IFace2 > &__swFace2)
 
CAD4FE_COMMON_ITEM void SW_EvaluateClosestPointOnFace (CComPtr< IFace2 > __swFace, double __pos[3], double *__facePos, double *__uParams, double *__vParams)
 
CAD4FE_COMMON_ITEM void SW_EvaluateClosestPointOnFace (CComPtr< IFace2 > __swFace, double __pos[3], double *__X3D, double *__X2D)
 
CAD4FE_COMMON_ITEM void SW_EvaluateClosestPointOnSurface (CComPtr< ISurface > __swSurface, double __pos[3], double __facePos[3], double __uvParams[2])
 
template<class T >
void SW_Select_and_Mark (CComPtr< T > __swT, bool __append, long __mark)
 
CAD4FE_COMMON_ITEM void SW_Face_Select_and_Mark (CComPtr< IFace2 > __swFace, bool __append, long __mark)
 
CAD4FE_COMMON_ITEM void SW_Sketch_Select_and_Mark (CComPtr< ISketch > __sketch, bool __append, long __mark)
 
CAD4FE_COMMON_ITEM void SW_Sketch_GetModelCoordinateInSketchSpace (CComPtr< ISketch > __sketch, double __pos_3D[3], double __pos_sketch[3])
 
CAD4FE_COMMON_ITEM void SW_GetActiveView (CComPtr< IModelDoc2 > __swModel, CComPtr< IModelView > &__swModelView)
 
CAD4FE_COMMON_ITEM bool SW_Face_GetMaterialPropertyValues2 (CComPtr< IFace2 > __swFace, double *R, double *G, double *B, double *ambient, double *diffuse, double *specular, double *shininess, double *transparency, double *emission)
 
CAD4FE_COMMON_ITEM bool SW_SelectedEdgeProperties (CComPtr< IModelDoc2 > __swModel, CComPtr< IEdge > __swEdge, std::string &__retName, bool &name_existed_before)
 
CAD4FE_COMMON_ITEM bool SW_SelectedEdgeProperties (CComPtr< IModelDoc2 > __swModel, CComPtr< IEdge > __swEdge, char *&, bool &name_existed_before)
 
CAD4FE_COMMON_ITEM bool SW_SelectedFaceProperties (CComPtr< IModelDoc2 > __swModel, CComPtr< IFace2 > __swFace, char *&__retName, bool &name_existed_before)
 
CAD4FE_COMMON_ITEM bool SW_SelectedFaceProperties (CComPtr< IModelDoc2 > __swModel, CComPtr< IFace2 > __swFace, std::string &__retName, bool &name_existed_before)
 
CAD4FE_COMMON_ITEM bool SW_Face_NameById (CComPtr< IModelDoc2 > __swModel, CComPtr< IFace2 > __swFace, int &__id, bool &name_existed_before)
 
CAD4FE_COMMON_ITEM bool SW_Edge_NameById (CComPtr< IModelDoc2 > __swModel, CComPtr< IEdge > __swEdge, int &__id, bool &name_existed_before)
 
CAD4FE_COMMON_ITEM void SW_Model_GetActiveCameraPosition (CComPtr< IModelDoc2 > __swModel, double __result[3])
 
CAD4FE_COMMON_ITEM void SW_Model_AddConfiguration (CComPtr< IModelDoc2 > &__swModel, std::string __strname, CComPtr< IConfiguration > &__result)
 
CAD4FE_COMMON_ITEM bool SW_Model_SuppressConfiguration (CComPtr< IModelDoc2 > &__swModel, std::string __name)
 
CAD4FE_COMMON_ITEM CComPtr< IPartDoc > & SW_Model_GetPart (CComPtr< IModelDoc2 > __swModel)
 
CAD4FE_COMMON_ITEM void SW_Model_GetActiveViewTranslation (CComPtr< IModelDoc2 > __swModel, double __result[3])
 
CAD4FE_COMMON_ITEM void SW_Model_SetAddToDB (CComPtr< IModelDoc2 > __swModel, bool __status)
 
CAD4FE_COMMON_ITEM void SW_Model_CreateLineInSketch (CComPtr< IModelDoc2 > __swModel, CComPtr< ISketch > __swSketch, double __P0[3], double __P1[3])
 
CAD4FE_COMMON_ITEM int SW_Sketch_Select (CComPtr< ISketch > __swSketch, CComPtr< ISelectData > __swSelData)
 
CAD4FE_COMMON_ITEM int SW_SketchSegment_Select (CComPtr< ISketchSegment > __swSketchSegment, CComPtr< ISelectData > __swSelData)
 
CAD4FE_COMMON_ITEM int SW_SketchPoint_Select (CComPtr< ISketchPoint > __swSketchPoint, CComPtr< ISelectData > __swSelData)
 
CAD4FE_COMMON_ITEM void SW_Model_InsertSplitLine (CComPtr< IModelDoc2 > __swModel, CComPtr< ISketch > __swSketch, CComPtr< IFace2 > __swFace, std::map< int, CComPtr< IFace2 > > &__resultFaces)
 
CAD4FE_COMMON_ITEM void SW_Model_InsertSplitLine (CComPtr< IModelDoc2 > __swModel, CComPtr< IFace2 > __swFace, double __vertex1coordinates[3], double __vertex2coordinates[3], std::map< int, CComPtr< IFace2 > > &__resultFaces)
 
CAD4FE_COMMON_ITEM void SW_Model_CreateRefPlane (CComPtr< IModelDoc2 > __swModel, double __rootPoint[3], double __normal[3], CComPtr< IRefPlane > &__swRefPlane)
 
template<class T >
CAD4FE_COMMON_ITEM CComPtr< T > & SW_Model_GetFirstSelected (CComPtr< IModelDoc2 > __swModel, long __mark)
 
template<class T >
CAD4FE_COMMON_ITEM CComPtr< T > & SW_Model_GetSelected (CComPtr< IModelDoc2 > __swModel, long __nth, long __mark)
 
CAD4FE_COMMON_ITEM int SW_GetSelecteEdgeId (CComPtr< ISldWorks > __swApp)
 
template<class T >
void SW_Feature_GetDefinition (CComPtr< IFeature > __swFeature, CComPtr< T > &__swFeatData)
 
CAD4FE_COMMON_ITEM void SW_Part_InitIDs (CComPtr< IPartDoc > __swPart)
 
CAD4FE_COMMON_ITEM int SW_Part_GetBodiesCount (CComPtr< IPartDoc > __swPart, swBodyType_e __swBodyType, bool __onlyVisibleBodies=true)
 
CAD4FE_COMMON_ITEM CComPtr< IBody2 > & SW_Part_GetBody (CComPtr< IPartDoc > __swPart, int __index, swBodyType_e __swBodyType, bool __onlyVisibleBodies=true)
 
CAD4FE_COMMON_ITEM void SW_Model_SaveToFile (CComPtr< IModelDoc2 > __swModel, const char *__filename)
 
CAD4FE_COMMON_ITEM void SW_Part_FindEdgeById (CComPtr< IPartDoc > __swPart, int __id, CComPtr< IEdge > &__swEdge)
 
CAD4FE_COMMON_ITEM void SW_Part_FindFaceById (CComPtr< IPartDoc > __swPart, int __id, CComPtr< IFace2 > &__swFace)
 
CAD4FE_COMMON_ITEM void SW_Vertex_GetPoint (CComPtr< IVertex > __swVertex, double __pnt[3])
 
CAD4FE_COMMON_ITEM int SW_Vertex_GetId (const CComPtr< IVertex > &__swVertex)
 
CAD4FE_COMMON_ITEM int SW_Vertex_TestAttribute (CComPtr< IVertex > &__swVertex, CComPtr< IAttributeDef > &)
 
CAD4FE_COMMON_ITEM bool SW_Face_IsCylinder (CComPtr< IFace2 > __swFace)
 
CAD4FE_COMMON_ITEM bool SW_Surface_IsCylinder (CComPtr< ISurface > __swSurface)
 
CAD4FE_COMMON_ITEM bool SW_Face_IsCone (CComPtr< IFace2 > __swFace)
 
CAD4FE_COMMON_ITEM bool SW_Surface_IsCone (CComPtr< ISurface > __swSurface)
 
CAD4FE_COMMON_ITEM bool SW_Face_IsPlane (CComPtr< IFace2 > __swFace)
 
CAD4FE_COMMON_ITEM bool SW_Surface_IsPlane (CComPtr< ISurface > __swSurface)
 
CAD4FE_COMMON_ITEM bool SW_Face_IsTorus (CComPtr< IFace2 > __swFace)
 
CAD4FE_COMMON_ITEM bool SW_Surface_IsTorus (CComPtr< ISurface > __swSurface)
 
CAD4FE_COMMON_ITEM bool SW_Face_IsSphere (CComPtr< IFace2 > __swFace)
 
CAD4FE_COMMON_ITEM bool SW_Surface_IsSphere (CComPtr< ISurface > __swSurface)
 
CAD4FE_COMMON_ITEM bool SW_Face_IsSwept (CComPtr< IFace2 > __swFace)
 
CAD4FE_COMMON_ITEM bool SW_Surface_IsSwept (CComPtr< ISurface > __swSurface)
 
CAD4FE_COMMON_ITEM void SW_RefPlane_GetParams (CComPtr< IRefPlane > __swRefPlane, double __origin[3], double __normal[3], double __XVector[3])
 
int CAD4FE_COMMON_ITEM Convert_FaceNameToId (std::string)
 
int CAD4FE_COMMON_ITEM Convert_FaceNameToId (char *)
 
int CAD4FE_COMMON_ITEM Convert_FaceNameToId (BSTR)
 
bool CAD4FE_COMMON_ITEM SW_FaceName_Set (CComPtr< IPartDoc > __swPart, CComPtr< IFace2 >, std::string &, bool overwrite_option=false)
 
bool CAD4FE_COMMON_ITEM SW_FaceName_Set (CComPtr< IPartDoc > __swPart, CComPtr< IFace2 >, char *, bool overwrite_option=false)
 
bool CAD4FE_COMMON_ITEM SW_FaceName_Get (CComPtr< IPartDoc > __swPart, CComPtr< IFace2 >, std::string &)
 
bool CAD4FE_COMMON_ITEM SW_FaceName_Get (CComPtr< IPartDoc > __swPart, CComPtr< IFace2 >, char **)
 
CAD4FE_COMMON_ITEM int SW_Model_RayIntr_GetFirstFaceIntr (CComPtr< IModelDoc2 > __swModel, double __basePointIn[3], double __baseDirectionIn[3], CComPtr< IFace2 > &__swFace, double __intrPoint[3], double __intrPointNorm[3])
 
CAD4FE_COMMON_ITEM void SW_MathVector_ConvertToPoint (CComPtr< IMathVector > __swMathVector, CComPtr< IMathPoint > &__swMathPoint)
 
CAD4FE_COMMON_ITEM void SW_MathPoint_GetCoordinates (CComPtr< IMathPoint > __swMathPoint, double __pos[3])
 
void SW_RefPoint_GetPoint (CComPtr< IRefPoint > __swRefPoint, double __result[3])
 
CAD4FE_COMMON_ITEM void SW_ModelView_GetTranslation (CComPtr< IModelView > __swModelView, double __result[3])
 
int CAD4FE_COMMON_ITEM Convert_EdgeNameToId (std::string)
 
int CAD4FE_COMMON_ITEM Convert_EdgeNameToId (char *)
 
int CAD4FE_COMMON_ITEM Convert_EdgeNameToId (BSTR)
 
bool CAD4FE_COMMON_ITEM SW_EdgeName_Set (CComPtr< IPartDoc >, CComPtr< IEdge >, std::string &, bool overwrite_option=false)
 
bool CAD4FE_COMMON_ITEM SW_EdgeName_Set (CComPtr< IPartDoc >, CComPtr< IEdge >, char *, bool overwrite_option=false)
 
bool CAD4FE_COMMON_ITEM SW_EdgeName_Get (CComPtr< IPartDoc >, CComPtr< IEdge >, std::string &)
 
bool CAD4FE_COMMON_ITEM SW_EdgeName_Get (CComPtr< IPartDoc >, CComPtr< IEdge >, char **)
 
bool CAD4FE_COMMON_ITEM SW_EdgeName_Get (CComPtr< IPartDoc >, CComPtr< IEdge >, const char *)
 
bool CAD4FE_COMMON_ITEM SW_EdgeName_Delete (CComPtr< IPartDoc > __swPart, CComPtr< IEdge > __swEdge)
 
std::string CAD4FE_COMMON_ITEM Convert_VertexToString (CComPtr< IVertex > __swVertex)
 
bool CAD4FE_COMMON_ITEM SW_VertexName_Set (CComPtr< IPartDoc >, CComPtr< IVertex >, std::string &, bool overwrite_option=false)
 
bool CAD4FE_COMMON_ITEM SW_VertexName_Set (CComPtr< IPartDoc >, CComPtr< IVertex >, char *, bool overwrite_option=false)
 
bool CAD4FE_COMMON_ITEM SW_VertexName_Get (CComPtr< IPartDoc >, CComPtr< IVertex >, std::string &)
 
bool CAD4FE_COMMON_ITEM SW_VertexName_Get (CComPtr< IPartDoc >, CComPtr< IVertex >, char **)
 
bool CAD4FE_COMMON_ITEM SW_EntityName_Delete (CComPtr< IPartDoc >, CComPtr< Sldworks_tlb::IEntity >)
 
bool CAD4FE_COMMON_ITEM SW_EntityName_Set (CComPtr< IPartDoc >, CComPtr< Sldworks_tlb::IEntity > __swEntity, BSTR &__bstrName, bool overwrite=false)
 
bool CAD4FE_COMMON_ITEM SW_EntityName_Get (CComPtr< IPartDoc >, CComPtr< Sldworks_tlb::IEntity > __swEntity, BSTR &__bstrName)
 

Documentation des macros

◆ EDGENAME_FORMAT

#define EDGENAME_FORMAT   "E %d "

Définition à la ligne 574 du fichier CAD4FE_api_sw_tool.h.

◆ EDGENAME_STRLEN

#define EDGENAME_STRLEN   64

Définition à la ligne 575 du fichier CAD4FE_api_sw_tool.h.

◆ FACENAME_FORMAT

#define FACENAME_FORMAT   "F %d "

Définition à la ligne 572 du fichier CAD4FE_api_sw_tool.h.

◆ FACENAME_STRLEN

#define FACENAME_STRLEN   64

Définition à la ligne 573 du fichier CAD4FE_api_sw_tool.h.

◆ SW_VERSION

#define SW_VERSION   2012

Définition à la ligne 34 du fichier CAD4FE_api_sw_tool.h.

◆ VERTEXNAME_FORMAT

#define VERTEXNAME_FORMAT   "Vertex %f, %f, %f "

Définition à la ligne 576 du fichier CAD4FE_api_sw_tool.h.

◆ VERTEXNAME_STRLEN

#define VERTEXNAME_STRLEN   64

Définition à la ligne 577 du fichier CAD4FE_api_sw_tool.h.

Documentation des fonctions

◆ Convert_EdgeNameToId() [1/3]

int CAD4FE_COMMON_ITEM Convert_EdgeNameToId ( BSTR  )

◆ Convert_EdgeNameToId() [2/3]

int CAD4FE_COMMON_ITEM Convert_EdgeNameToId ( char *  )

◆ Convert_EdgeNameToId() [3/3]

int CAD4FE_COMMON_ITEM Convert_EdgeNameToId ( std::string  )

◆ Convert_FaceNameToId() [1/3]

int CAD4FE_COMMON_ITEM Convert_FaceNameToId ( BSTR  )

◆ Convert_FaceNameToId() [2/3]

int CAD4FE_COMMON_ITEM Convert_FaceNameToId ( char *  )

◆ Convert_FaceNameToId() [3/3]

int CAD4FE_COMMON_ITEM Convert_FaceNameToId ( std::string  )

◆ Convert_VertexToString()

std::string CAD4FE_COMMON_ITEM Convert_VertexToString ( CComPtr< IVertex >  __swVertex)

◆ SW_App_CreateBoundaryConditionAttributeDef()

CAD4FE_COMMON_ITEM void SW_App_CreateBoundaryConditionAttributeDef ( CComPtr< ISldWorks > &  __swApp,
CComPtr< IAttributeDef > &  DefAttrConditionLimite 
)

◆ SW_App_SendMsgToUser_Ok()

CAD4FE_COMMON_ITEM DWORD WINAPI SW_App_SendMsgToUser_Ok ( void *  pointerSW)

◆ SW_Body_GetBodyBox() [1/2]

CAD4FE_COMMON_ITEM void SW_Body_GetBodyBox ( CComPtr< IBody2 >  __swBody,
double  __bbox[6] 
)

◆ SW_Body_GetBodyBox() [2/2]

CAD4FE_COMMON_ITEM void SW_Body_GetBodyBox ( CComPtr< IBody2 >  __swBody,
double  __lowerDiagCorner[3],
double  __upperDiagCorner[3] 
)

The X,Y,Z points returned by SolidWorks are the lower and upper diagonal corners which bound the body with the box sides parallel to the X, Y and Z axes.

The box dimensions returned by SolidWorks enclose the body and are typically close to the minimum possible size (this is typical, but not always true).

The return value is an array of doubles as follows:

[ XCorner1, YCorner1, ZCorner1, XCorner2, YCorner2, ZCorner2 ]

◆ SW_Body_MaxEdgeId()

CAD4FE_COMMON_ITEM void SW_Body_MaxEdgeId ( CComPtr< IBody2 >  __swBody,
int *  __id 
)

This function returns the maximum value of edges ID for each bodies of the Part Document

◆ SW_ChamferFeature_GetDefinition()

CAD4FE_COMMON_ITEM void SW_ChamferFeature_GetDefinition ( CComPtr< IFeature >  __swFeature,
CComPtr< IChamferFeatureData2 > &  __swFeatData 
)

◆ SW_ChamferFeatureData_GetAngleDistance()

CAD4FE_COMMON_ITEM void SW_ChamferFeatureData_GetAngleDistance ( CComPtr< IChamferFeatureData2 > &  swFeatData,
double *  angle,
double *  distance 
)

◆ SW_CloseDoc() [1/2]

CAD4FE_COMMON_ITEM void SW_CloseDoc ( CComPtr< IModelDoc2 > &  __swModel)

◆ SW_CloseDoc() [2/2]

CAD4FE_COMMON_ITEM void SW_CloseDoc ( const CComPtr< ISldWorks > &  __swApp,
char *  filename 
)

◆ SW_CoCreateInstance()

CAD4FE_COMMON_ITEM void SW_CoCreateInstance ( CComPtr< ISldWorks > &  __swApp)

◆ SW_CoEdge_GetFaceInteriorDirection()

CAD4FE_COMMON_ITEM int SW_CoEdge_GetFaceInteriorDirection ( CComPtr< IEdge >  __swEdge,
CComPtr< IFace2 >  __swFace,
double  __X[3],
double  __D[3] 
)

◆ SW_Curve_Evaluate()

CAD4FE_COMMON_ITEM int SW_Curve_Evaluate ( CComPtr< ICurve >  curve,
double  U,
double  point[3],
double  tangent[3] 
)

◆ SW_Curve_GetIdentity()

CAD4FE_COMMON_ITEM long SW_Curve_GetIdentity ( CComPtr< ICurve >  __swCurve)

◆ SW_Curve_IsBspline()

CAD4FE_COMMON_ITEM bool SW_Curve_IsBspline ( CComPtr< ICurve >  __swCurve)

◆ SW_Curve_IsCircle()

CAD4FE_COMMON_ITEM bool SW_Curve_IsCircle ( CComPtr< ICurve >  __swCurve)

◆ SW_Curve_IsLine()

CAD4FE_COMMON_ITEM bool SW_Curve_IsLine ( CComPtr< ICurve >  __swCurve)

◆ SW_Edge_Evaluate()

CAD4FE_COMMON_ITEM int SW_Edge_Evaluate ( CComPtr< IEdge >  edge,
double  U,
double  point[3],
double  tangent[3] 
)

◆ SW_Edge_Evaluate_CheckDomain() [1/2]

CAD4FE_COMMON_ITEM int SW_Edge_Evaluate_CheckDomain ( CComPtr< IEdge >  edge,
double  StartUParam,
double  EndUParam,
double  U,
double  point[3],
double  tangent[3] 
)

◆ SW_Edge_Evaluate_CheckDomain() [2/2]

CAD4FE_COMMON_ITEM int SW_Edge_Evaluate_CheckDomain ( CComPtr< IEdge >  edge,
double  U,
double  point[3],
double  tangent[3] 
)

◆ SW_Edge_EvaluateAtVertex()

CAD4FE_COMMON_ITEM void SW_Edge_EvaluateAtVertex ( CComPtr< IEdge >  __swEdge,
CComPtr< IVertex >  __swVertex,
double  __point[3],
double  __tangent[3] 
)

◆ SW_Edge_EvaluateCurvilinearDistancePoint()

CAD4FE_COMMON_ITEM void SW_Edge_EvaluateCurvilinearDistancePoint ( CComPtr< IEdge >  __swEdge,
CComPtr< IVertex >  __swVertex,
double  __L,
double *  __LResult,
double *  __t,
double  __X[3] 
)

◆ SW_Edge_GetBody()

void SW_Edge_GetBody ( CComPtr< IEdge >  __swEdge,
CComPtr< IBody2 > &  __swBody 
)

Returns the body belonging to this edge

◆ SW_Edge_GetClosestPointOn()

void SW_Edge_GetClosestPointOn ( CComPtr< IEdge >  __swEdge,
double  __point[3],
double  __result[3] 
)

◆ SW_Edge_GetDistanceToPoint()

double SW_Edge_GetDistanceToPoint ( CComPtr< IEdge >  __swEdge,
double  __point[3] 
)

◆ SW_Edge_GetId()

CAD4FE_COMMON_ITEM int SW_Edge_GetId ( CComPtr< IEdge >  __swEdge)

◆ SW_Edge_GetLength()

CAD4FE_COMMON_ITEM double SW_Edge_GetLength ( CComPtr< IEdge >  __swEdge)

◆ SW_Edge_GetParameters()

CAD4FE_COMMON_ITEM int SW_Edge_GetParameters ( CComPtr< IEdge >  __swEdge,
double *  __startUParam,
double *  __endUParam,
double *  __startPt,
double *  __endPt,
double *  __startTanDir,
double *  __endTanDir,
int *  _curveType,
int *  _senseFlag 
)

◆ SW_Edge_GetTangentEdgesPropagation2()

CAD4FE_COMMON_ITEM void SW_Edge_GetTangentEdgesPropagation2 ( CComPtr< IEdge >  __swEdge,
std::multimap< int, CComPtr< IEdge > > &  __tangentEdges,
int &  __maxEdgeId 
)

◆ SW_Edge_NameById()

CAD4FE_COMMON_ITEM bool SW_Edge_NameById ( CComPtr< IModelDoc2 >  __swModel,
CComPtr< IEdge >  __swEdge,
int &  __id,
bool &  name_existed_before 
)

◆ SW_Edge_ReverseEvaluate() [1/2]

void SW_Edge_ReverseEvaluate ( CComPtr< IEdge >  __swEdge,
double  __pos[3],
double *  __u 
)

◆ SW_Edge_ReverseEvaluate() [2/2]

CAD4FE_COMMON_ITEM void SW_Edge_ReverseEvaluate ( CComPtr< IEdge >  __swEdge,
double  __pos[3],
double *  __u,
double  __tanDir[3] 
)

◆ SW_Edge_Select()

CAD4FE_COMMON_ITEM int SW_Edge_Select ( CComPtr< IEdge >  __swEdge,
CComPtr< ISelectData >  __swSelData 
)

◆ SW_Edge_SetId()

CAD4FE_COMMON_ITEM void SW_Edge_SetId ( CComPtr< IEdge >  __swEdge,
int  id 
)

◆ SW_Edge_Tessellate() [1/3]

CAD4FE_COMMON_ITEM void SW_Edge_Tessellate ( CComPtr< IEdge > &  __swEdge,
double  __maxSize,
std::vector< double > &  __result 
)

◆ SW_Edge_Tessellate() [2/3]

CAD4FE_COMMON_ITEM void SW_Edge_Tessellate ( CComPtr< IEdge > &  __swEdge,
double  __startPnt[3],
double  __endPnt[3],
std::vector< double > &  __result 
)

◆ SW_Edge_Tessellate() [3/3]

CAD4FE_COMMON_ITEM void SW_Edge_Tessellate ( CComPtr< IEdge > &  __swEdge,
double  __uStart,
double  __uEnd,
std::vector< double > &  __result 
)

◆ SW_Edge_TestAttribute()

CAD4FE_COMMON_ITEM int SW_Edge_TestAttribute ( CComPtr< IEdge > &  __swEdge,
CComPtr< IAttributeDef > &   
)

◆ SW_EdgeName_Delete()

bool CAD4FE_COMMON_ITEM SW_EdgeName_Delete ( CComPtr< IPartDoc >  __swPart,
CComPtr< IEdge >  __swEdge 
)

◆ SW_EdgeName_Get() [1/3]

bool CAD4FE_COMMON_ITEM SW_EdgeName_Get ( CComPtr< IPartDoc >  ,
CComPtr< IEdge >  ,
char **   
)

◆ SW_EdgeName_Get() [2/3]

bool CAD4FE_COMMON_ITEM SW_EdgeName_Get ( CComPtr< IPartDoc >  ,
CComPtr< IEdge >  ,
const char *   
)

◆ SW_EdgeName_Get() [3/3]

bool CAD4FE_COMMON_ITEM SW_EdgeName_Get ( CComPtr< IPartDoc >  ,
CComPtr< IEdge >  ,
std::string &   
)

◆ SW_EdgeName_Set() [1/2]

bool CAD4FE_COMMON_ITEM SW_EdgeName_Set ( CComPtr< IPartDoc >  ,
CComPtr< IEdge >  ,
char *  ,
bool  overwrite_option = false 
)

◆ SW_EdgeName_Set() [2/2]

bool CAD4FE_COMMON_ITEM SW_EdgeName_Set ( CComPtr< IPartDoc >  ,
CComPtr< IEdge >  ,
std::string &  ,
bool  overwrite_option = false 
)

◆ SW_EntityName_Delete()

bool CAD4FE_COMMON_ITEM SW_EntityName_Delete ( CComPtr< IPartDoc >  ,
CComPtr< Sldworks_tlb::IEntity >   
)

◆ SW_EntityName_Get()

bool CAD4FE_COMMON_ITEM SW_EntityName_Get ( CComPtr< IPartDoc >  ,
CComPtr< Sldworks_tlb::IEntity >  __swEntity,
BSTR &  __bstrName 
)

◆ SW_EntityName_Set()

bool CAD4FE_COMMON_ITEM SW_EntityName_Set ( CComPtr< IPartDoc >  ,
CComPtr< Sldworks_tlb::IEntity >  __swEntity,
BSTR &  __bstrName,
bool  overwrite = false 
)

◆ SW_EvaluateClosestPointOnFace() [1/2]

CAD4FE_COMMON_ITEM void SW_EvaluateClosestPointOnFace ( CComPtr< IFace2 >  __swFace,
double  __pos[3],
double *  __facePos,
double *  __uParams,
double *  __vParams 
)

◆ SW_EvaluateClosestPointOnFace() [2/2]

CAD4FE_COMMON_ITEM void SW_EvaluateClosestPointOnFace ( CComPtr< IFace2 >  __swFace,
double  __pos[3],
double *  __X3D,
double *  __X2D 
)

◆ SW_EvaluateClosestPointOnSurface()

CAD4FE_COMMON_ITEM void SW_EvaluateClosestPointOnSurface ( CComPtr< ISurface >  __swSurface,
double  __pos[3],
double  __facePos[3],
double  __uvParams[2] 
)

◆ SW_ExitApp()

CAD4FE_COMMON_ITEM void SW_ExitApp ( CComPtr< ISldWorks > &  __swApp)

◆ SW_Face_ClosetPointOnContour()

CAD4FE_COMMON_ITEM void SW_Face_ClosetPointOnContour ( CComPtr< IFace2 >  __swFace,
double  __point[3],
double  __result[3] 
)

◆ SW_Face_CreateTangentPlaneAtCenter()

void SW_Face_CreateTangentPlaneAtCenter ( CComPtr< IModelDoc2 >  __swModel,
CComPtr< IFace2 >  __swFace,
double  __rootPoint[3],
double  __XVector[3],
double  __normal[3],
CComPtr< IRefPlane > &  __swRefPlane 
)

◆ SW_Face_Evaluate0()

CAD4FE_COMMON_ITEM void SW_Face_Evaluate0 ( CComPtr< IFace2 >  __swFace,
double  uv[2],
double  __result[3] 
)

◆ SW_Face_EvaluateAtPoint()

CAD4FE_COMMON_ITEM void SW_Face_EvaluateAtPoint ( CComPtr< IFace2 >  __swFace,
double  __pos[3],
double *  __faceNormal,
double *  __firstPrincipalDirection = NULL,
double *  __secondPrincipalDirection = NULL,
double *  __firstPrincipalCurvature = NULL,
double *  __secondPrincipalCurvature = NULL 
)

◆ SW_Face_GetBox()

CAD4FE_COMMON_ITEM void SW_Face_GetBox ( CComPtr< IFace2 >  __swFace,
double  __bbox[6] 
)

◆ SW_Face_GetBoxTessellation()

CAD4FE_COMMON_ITEM void SW_Face_GetBoxTessellation ( CComPtr< IFace2 > &  __swFace,
double  __bbox[6] 
)

◆ SW_Face_GetCenterPoint()

CAD4FE_COMMON_ITEM void SW_Face_GetCenterPoint ( CComPtr< IFace2 >  __swFace,
CComPtr< IModelDoc2 >  __swModel,
double  __result[3] 
)

◆ SW_Face_GetClosestPointOn()

CAD4FE_COMMON_ITEM void SW_Face_GetClosestPointOn ( CComPtr< IFace2 >  __swFace,
double  __point[3],
double  __result[3] 
)

◆ SW_Face_GetEdges()

CAD4FE_COMMON_ITEM std::multimap<int, CComPtr < IEdge > > SW_Face_GetEdges ( CComPtr< IFace2 >  __swFace)

◆ SW_Face_GetId()

CAD4FE_COMMON_ITEM int SW_Face_GetId ( CComPtr< IFace2 >  __swFace)

◆ SW_Face_GetLoopCount()

CAD4FE_COMMON_ITEM long SW_Face_GetLoopCount ( CComPtr< IFace2 >  __swFace)

◆ SW_Face_GetMaterialProperties() [1/2]

CAD4FE_COMMON_ITEM int SW_Face_GetMaterialProperties ( CComPtr< IFace2 > &  swFace,
std::vector< double > &   
)

◆ SW_Face_GetMaterialProperties() [2/2]

CAD4FE_COMMON_ITEM int SW_Face_GetMaterialProperties ( CComPtr< IFace2 > &  swFace,
unsigned char  rgba[4] 
)

◆ SW_Face_GetMaterialPropertyValues2()

CAD4FE_COMMON_ITEM bool SW_Face_GetMaterialPropertyValues2 ( CComPtr< IFace2 >  __swFace,
double *  R,
double *  G,
double *  B,
double *  ambient,
double *  diffuse,
double *  specular,
double *  shininess,
double *  transparency,
double *  emission 
)

◆ SW_Face_GetProjectionPlane()

void SW_Face_GetProjectionPlane ( CComPtr< IFace2 >  selectedFace1,
double  __rootPoint[3],
double  __normal[3] 
)

◆ SW_Face_GetTessTriangles() [1/2]

CAD4FE_COMMON_ITEM void SW_Face_GetTessTriangles ( CComPtr< IFace2 >  __swFace,
long *  __triangleCount,
double **  __tessPts 
)

◆ SW_Face_GetTessTriangles() [2/2]

CAD4FE_COMMON_ITEM void SW_Face_GetTessTriangles ( CComPtr< IFace2 >  __swFace,
long *  __triangleCount,
SafeDoubleArray **   
)

this function gets the SolidWorks tessellation of the face that is used for OpenGL display arg1 : SW Face arg2 : (output) NumTriangles number of triangles arg3 : 3 * NumTriangles float numbers : tessellation points of triangles

◆ SW_Face_GetUVBounds()

CAD4FE_COMMON_ITEM int SW_Face_GetUVBounds ( CComPtr< IFace2 >  face,
double *  bbox 
)

◆ SW_Face_IsCone()

CAD4FE_COMMON_ITEM bool SW_Face_IsCone ( CComPtr< IFace2 >  __swFace)

◆ SW_Face_IsCylinder()

CAD4FE_COMMON_ITEM bool SW_Face_IsCylinder ( CComPtr< IFace2 >  __swFace)

◆ SW_Face_IsPlane()

CAD4FE_COMMON_ITEM bool SW_Face_IsPlane ( CComPtr< IFace2 >  __swFace)

◆ SW_Face_IsRevolved()

CAD4FE_COMMON_ITEM int SW_Face_IsRevolved ( CComPtr< IFace2 >  __swFace)

◆ SW_Face_IsSphere()

CAD4FE_COMMON_ITEM bool SW_Face_IsSphere ( CComPtr< IFace2 >  __swFace)

◆ SW_Face_IsSwept()

CAD4FE_COMMON_ITEM bool SW_Face_IsSwept ( CComPtr< IFace2 >  __swFace)

◆ SW_Face_IsTorus()

CAD4FE_COMMON_ITEM bool SW_Face_IsTorus ( CComPtr< IFace2 >  __swFace)

◆ SW_Face_IsUPeriodic()

CAD4FE_COMMON_ITEM bool SW_Face_IsUPeriodic ( CComPtr< IFace2 >  face)

◆ SW_Face_IsVPeriodic()

CAD4FE_COMMON_ITEM bool SW_Face_IsVPeriodic ( CComPtr< IFace2 >  face)

◆ SW_Face_NameById()

CAD4FE_COMMON_ITEM bool SW_Face_NameById ( CComPtr< IModelDoc2 >  __swModel,
CComPtr< IFace2 >  __swFace,
int &  __id,
bool &  name_existed_before 
)

◆ SW_Face_RandomCreatePoint()

CAD4FE_COMMON_ITEM void SW_Face_RandomCreatePoint ( CComPtr< IFace2 >  __swFace,
double  __uvBounds[4],
double  __result[3] 
)

◆ SW_Face_ReverseEvaluate0()

CAD4FE_COMMON_ITEM int SW_Face_ReverseEvaluate0 ( CComPtr< IFace2 >  __swFace,
double  __pos[3],
double  __uv[2] 
)

◆ SW_Face_Select()

CAD4FE_COMMON_ITEM int SW_Face_Select ( CComPtr< IFace2 >  __swFace,
CComPtr< ISelectData >  __swSelData 
)

◆ SW_Face_Select_and_Mark()

CAD4FE_COMMON_ITEM void SW_Face_Select_and_Mark ( CComPtr< IFace2 >  __swFace,
bool  __append,
long  __mark 
)

◆ SW_Face_TestAttribute()

CAD4FE_COMMON_ITEM int SW_Face_TestAttribute ( CComPtr< IFace2 > &  __swFace,
CComPtr< IAttributeDef > &   
)

◆ SW_FaceEdge_ReverseEvaluate()

CAD4FE_COMMON_ITEM int SW_FaceEdge_ReverseEvaluate ( CComPtr< IEdge >  edge,
CComPtr< IFace2 >  face,
double  U,
double  UV[2] 
)

◆ SW_FaceEdge_UVBox()

CAD4FE_COMMON_ITEM int SW_FaceEdge_UVBox ( CComPtr< IEdge >  edge,
CComPtr< IFace2 >  face,
double  startUV[2],
double  endUV[2] 
)

◆ SW_FaceName_Get() [1/2]

bool CAD4FE_COMMON_ITEM SW_FaceName_Get ( CComPtr< IPartDoc >  __swPart,
CComPtr< IFace2 >  ,
char **   
)

◆ SW_FaceName_Get() [2/2]

bool CAD4FE_COMMON_ITEM SW_FaceName_Get ( CComPtr< IPartDoc >  __swPart,
CComPtr< IFace2 >  ,
std::string &   
)

◆ SW_FaceName_Set() [1/2]

bool CAD4FE_COMMON_ITEM SW_FaceName_Set ( CComPtr< IPartDoc >  __swPart,
CComPtr< IFace2 >  ,
char *  ,
bool  overwrite_option = false 
)

◆ SW_FaceName_Set() [2/2]

bool CAD4FE_COMMON_ITEM SW_FaceName_Set ( CComPtr< IPartDoc >  __swPart,
CComPtr< IFace2 >  ,
std::string &  ,
bool  overwrite_option = false 
)

◆ SW_Feature_GetBoundingBox()

CAD4FE_COMMON_ITEM void SW_Feature_GetBoundingBox ( CComPtr< IModelDoc2 > &  __swModel,
CComPtr< IFeature > &  __swFeature,
double  __bbox[6] 
)

◆ SW_Feature_GetDefinition() [1/2]

template<class T >
CAD4FE_COMMON_ITEM void SW_Feature_GetDefinition ( CComPtr< IFeature >  __swFeature,
CComPtr< T > &  __swFeatData 
)

Définition à la ligne 510 du fichier CAD4FE_api_sw_tool.h.

◆ SW_Feature_GetDefinition() [2/2]

template<class T >
void SW_Feature_GetDefinition ( CComPtr< IFeature >  __swFeature,
CComPtr< T > &  __swFeatData 
)

Définition à la ligne 510 du fichier CAD4FE_api_sw_tool.h.

◆ SW_Feature_GetPoint()

CAD4FE_COMMON_ITEM void SW_Feature_GetPoint ( CComPtr< IFeature > &  pFeature,
double  xyzFeature[3] 
)

◆ SW_Feature_GetProjectionPlane()

CAD4FE_COMMON_ITEM void SW_Feature_GetProjectionPlane ( CComPtr< IFeature >  swFeature,
double  planeRootPoint[3],
double  planeNormal[3] 
)

◆ SW_Feature_GetProjectionPlane2()

CAD4FE_COMMON_ITEM void SW_Feature_GetProjectionPlane2 ( CComPtr< IFeature >  __swFeature,
CComPtr< IModelDoc2 >  __swModel,
double  planeRootPoint[3],
double  planeNormal[3] 
)

◆ SW_Feature_IsSuppressed()

CAD4FE_COMMON_ITEM bool SW_Feature_IsSuppressed ( CComPtr< IModelDoc2 > &  __swModel,
CComPtr< IFeature > &  __swFeature 
)

◆ SW_Feature_Select()

CAD4FE_COMMON_ITEM int SW_Feature_Select ( CComPtr< IFeature >  __swFeature,
CComPtr< ISelectData >  __swSelData 
)

◆ SW_Feature_Suppress()

CAD4FE_COMMON_ITEM int SW_Feature_Suppress ( CComPtr< IModelDoc2 > &  __swModel,
CComPtr< IFeature > &  __swFeature 
)

◆ SW_Feature_TestAttribute()

CAD4FE_COMMON_ITEM int SW_Feature_TestAttribute ( CComPtr< IFeature > &  __swFeature,
CComPtr< IAttributeDef > &   
)

◆ SW_FindCommonVertexBetweenTwoAdjacentEdges()

CAD4FE_COMMON_ITEM void SW_FindCommonVertexBetweenTwoAdjacentEdges ( CComPtr< IEdge >  __swEdge1,
CComPtr< IEdge >  __swEdge2,
CComPtr< IVertex > &  __swVertex 
)

◆ SW_GetActiveDoc()

CAD4FE_COMMON_ITEM void SW_GetActiveDoc ( const CComPtr< ISldWorks > &  __swApp,
CComPtr< IModelDoc2 > &  __swModel 
)

◆ SW_GetActiveView()

CAD4FE_COMMON_ITEM void SW_GetActiveView ( CComPtr< IModelDoc2 >  __swModel,
CComPtr< IModelView > &  __swModelView 
)

◆ SW_GetEdgeBounds() [1/2]

CAD4FE_COMMON_ITEM void SW_GetEdgeBounds ( CComPtr< IEdge >  __swEdge,
double *  __startParam,
double *  __endParam 
)

◆ SW_GetEdgeBounds() [2/2]

CAD4FE_COMMON_ITEM void SW_GetEdgeBounds ( CComPtr< IEdge >  __swEdge,
double *  __startParam,
double *  __endParam,
double  __startPnt[3],
double  __endPnt[3] 
)

◆ SW_GetEdgeFaces()

void CAD4FE_COMMON_ITEM SW_GetEdgeFaces ( CComPtr< IEdge >  __swEdge,
CComPtr< IFace2 > &  __swFace1,
CComPtr< IFace2 > &  __swFace2 
)

◆ SW_GetItemEdges()

CAD4FE_COMMON_ITEM std::multimap<int, CComPtr < IEdge > > SW_GetItemEdges ( LPUNKNOWN  punk_item)

◆ SW_GetSelecteEdgeId()

CAD4FE_COMMON_ITEM int SW_GetSelecteEdgeId ( CComPtr< ISldWorks >  __swApp)

◆ SW_Loop_GetEdges()

CAD4FE_COMMON_ITEM std::multimap<int, CComPtr < IEdge > > SW_Loop_GetEdges ( CComPtr< ILoop2 >  __swLoop)

◆ SW_MathPoint_GetCoordinates()

CAD4FE_COMMON_ITEM void SW_MathPoint_GetCoordinates ( CComPtr< IMathPoint >  __swMathPoint,
double  __pos[3] 
)

◆ SW_MathVector_ConvertToPoint()

CAD4FE_COMMON_ITEM void SW_MathVector_ConvertToPoint ( CComPtr< IMathVector >  __swMathVector,
CComPtr< IMathPoint > &  __swMathPoint 
)

◆ SW_Model_AddConfiguration()

CAD4FE_COMMON_ITEM void SW_Model_AddConfiguration ( CComPtr< IModelDoc2 > &  __swModel,
std::string  __strname,
CComPtr< IConfiguration > &  __result 
)

◆ SW_Model_CreateLineInSketch()

CAD4FE_COMMON_ITEM void SW_Model_CreateLineInSketch ( CComPtr< IModelDoc2 >  __swModel,
CComPtr< ISketch >  __swSketch,
double  __P0[3],
double  __P1[3] 
)

Creates a line in the sketch from 3D point P0 to 3D point P1

◆ SW_Model_CreateRefPlane()

CAD4FE_COMMON_ITEM void SW_Model_CreateRefPlane ( CComPtr< IModelDoc2 >  __swModel,
double  __rootPoint[3],
double  __normal[3],
CComPtr< IRefPlane > &  __swRefPlane 
)

◆ SW_Model_GetActiveCameraPosition()

CAD4FE_COMMON_ITEM void SW_Model_GetActiveCameraPosition ( CComPtr< IModelDoc2 >  __swModel,
double  __result[3] 
)

◆ SW_Model_GetActiveViewTranslation()

CAD4FE_COMMON_ITEM void SW_Model_GetActiveViewTranslation ( CComPtr< IModelDoc2 >  __swModel,
double  __result[3] 
)

◆ SW_Model_GetFirstSelected()

template<class T >
CAD4FE_COMMON_ITEM CComPtr<T>& SW_Model_GetFirstSelected ( CComPtr< IModelDoc2 >  __swModel,
long  __mark 
)

Get the first selected object (IFace2, IEdge, IVertex, IFeature...) in SW

Input: arg1 : (CComPtr<IModelDoc2>) __swModel

arg2 : (long) Mark -1 = All selections regardless of marks 0 = only the selections without marks Any other value = Value that was used to mark and select an object

arg3 : output CComPtr<T> & __swEnt

Example of Code :

    CComPtr<IEdge> firstSelectedEdge;
    SW_GetFirstSelected<IEdge> (_swModel, -1, firstSelectedEdge);

Définition à la ligne 414 du fichier CAD4FE_api_sw_tool.h.

◆ SW_Model_GetPart()

CAD4FE_COMMON_ITEM CComPtr<IPartDoc>& SW_Model_GetPart ( CComPtr< IModelDoc2 >  __swModel)

◆ SW_Model_GetSelected()

template<class T >
CAD4FE_COMMON_ITEM CComPtr<T>& SW_Model_GetSelected ( CComPtr< IModelDoc2 >  __swModel,
long  __nth,
long  __mark 
)

Définition à la ligne 457 du fichier CAD4FE_api_sw_tool.h.

◆ SW_Model_InsertSplitLine() [1/2]

CAD4FE_COMMON_ITEM void SW_Model_InsertSplitLine ( CComPtr< IModelDoc2 >  __swModel,
CComPtr< IFace2 >  __swFace,
double  __vertex1coordinates[3],
double  __vertex2coordinates[3],
std::map< int, CComPtr< IFace2 > > &  __resultFaces 
)

◆ SW_Model_InsertSplitLine() [2/2]

CAD4FE_COMMON_ITEM void SW_Model_InsertSplitLine ( CComPtr< IModelDoc2 >  __swModel,
CComPtr< ISketch >  __swSketch,
CComPtr< IFace2 >  __swFace,
std::map< int, CComPtr< IFace2 > > &  __resultFaces 
)

◆ SW_Model_RayIntr_GetFirstFaceIntr()

CAD4FE_COMMON_ITEM int SW_Model_RayIntr_GetFirstFaceIntr ( CComPtr< IModelDoc2 >  __swModel,
double  __basePointIn[3],
double  __baseDirectionIn[3],
CComPtr< IFace2 > &  __swFace,
double  __intrPoint[3],
double  __intrPointNorm[3] 
)

◆ SW_Model_SaveToFile()

CAD4FE_COMMON_ITEM void SW_Model_SaveToFile ( CComPtr< IModelDoc2 >  __swModel,
const char *  __filename 
)

Save the part to file

◆ SW_Model_SetAddToDB()

CAD4FE_COMMON_ITEM void SW_Model_SetAddToDB ( CComPtr< IModelDoc2 >  __swModel,
bool  __status 
)

◆ SW_Model_SuppressConfiguration()

CAD4FE_COMMON_ITEM bool SW_Model_SuppressConfiguration ( CComPtr< IModelDoc2 > &  __swModel,
std::string  __name 
)

◆ SW_ModelView_GetTranslation()

CAD4FE_COMMON_ITEM void SW_ModelView_GetTranslation ( CComPtr< IModelView >  __swModelView,
double  __result[3] 
)

◆ SW_OpenDoc()

CAD4FE_COMMON_ITEM int SW_OpenDoc ( const CComPtr< ISldWorks > &  __swApp,
char *  filename,
CComPtr< IModelDoc2 > &  __swModel,
char  __configuration[] = "" 
)

◆ SW_Part_FindEdgeById()

CAD4FE_COMMON_ITEM void SW_Part_FindEdgeById ( CComPtr< IPartDoc >  __swPart,
int  __id,
CComPtr< IEdge > &  __swEdge 
)

This function find Edges by ID for each bodies of the Part Document

◆ SW_Part_FindFaceById()

CAD4FE_COMMON_ITEM void SW_Part_FindFaceById ( CComPtr< IPartDoc >  __swPart,
int  __id,
CComPtr< IFace2 > &  __swFace 
)

This function find Faces by ID for each bodies of the Part Document

◆ SW_Part_GetBodiesCount()

CAD4FE_COMMON_ITEM int SW_Part_GetBodiesCount ( CComPtr< IPartDoc >  __swPart,
swBodyType_e  __swBodyType,
bool  __onlyVisibleBodies = true 
)

◆ SW_Part_GetBody()

CAD4FE_COMMON_ITEM CComPtr<IBody2>& SW_Part_GetBody ( CComPtr< IPartDoc >  __swPart,
int  __index,
swBodyType_e  __swBodyType,
bool  __onlyVisibleBodies = true 
)

◆ SW_Part_InitIDs()

CAD4FE_COMMON_ITEM void SW_Part_InitIDs ( CComPtr< IPartDoc >  __swPart)

This function generates the IDs of Edges and Faces for each bodies of the Part Document

◆ SW_RefPlane_GetParams()

CAD4FE_COMMON_ITEM void SW_RefPlane_GetParams ( CComPtr< IRefPlane >  __swRefPlane,
double  __origin[3],
double  __normal[3],
double  __XVector[3] 
)

Get the parameters of a reference plane

◆ SW_RefPoint_GetPoint()

void SW_RefPoint_GetPoint ( CComPtr< IRefPoint >  __swRefPoint,
double  __result[3] 
)

◆ SW_RibFeature_GetDefinition()

CAD4FE_COMMON_ITEM void SW_RibFeature_GetDefinition ( CComPtr< IFeature >  __swFeature,
CComPtr< IRibFeatureData2 > &  __swFeatData 
)

◆ SW_Select_and_Mark()

template<class T >
void SW_Select_and_Mark ( CComPtr< T >  __swT,
bool  __append,
long  __mark 
)

Définition à la ligne 350 du fichier CAD4FE_api_sw_tool.h.

◆ SW_SelectedEdgeProperties() [1/2]

CAD4FE_COMMON_ITEM bool SW_SelectedEdgeProperties ( CComPtr< IModelDoc2 >  __swModel,
CComPtr< IEdge >  __swEdge,
char *&  ,
bool &  name_existed_before 
)

◆ SW_SelectedEdgeProperties() [2/2]

CAD4FE_COMMON_ITEM bool SW_SelectedEdgeProperties ( CComPtr< IModelDoc2 >  __swModel,
CComPtr< IEdge >  __swEdge,
std::string &  __retName,
bool &  name_existed_before 
)

◆ SW_SelectedFaceProperties() [1/2]

CAD4FE_COMMON_ITEM bool SW_SelectedFaceProperties ( CComPtr< IModelDoc2 >  __swModel,
CComPtr< IFace2 >  __swFace,
char *&  __retName,
bool &  name_existed_before 
)

◆ SW_SelectedFaceProperties() [2/2]

CAD4FE_COMMON_ITEM bool SW_SelectedFaceProperties ( CComPtr< IModelDoc2 >  __swModel,
CComPtr< IFace2 >  __swFace,
std::string &  __retName,
bool &  name_existed_before 
)

◆ SW_SimpleFilletFeature_GetDefinition()

CAD4FE_COMMON_ITEM void SW_SimpleFilletFeature_GetDefinition ( CComPtr< IFeature >  __swFeature,
CComPtr< ISimpleFilletFeatureData2 > &  __swFeatData 
)

◆ SW_SimpleFilletFeatureData_AccessSelections()

CAD4FE_COMMON_ITEM void SW_SimpleFilletFeatureData_AccessSelections ( CComPtr< ISimpleFilletFeatureData2 >  __swFeatData,
CComPtr< IModelDoc2 >  __swModel 
)

◆ SW_SimpleFilletFeatureData_GetItemAtIndex()

CAD4FE_COMMON_ITEM void SW_SimpleFilletFeatureData_GetItemAtIndex ( CComPtr< ISimpleFilletFeatureData2 >  __swFeatData,
int  __index,
LPUNKNOWN &  __item 
)

◆ SW_SimpleFilletFeatureData_GetItemsCount()

CAD4FE_COMMON_ITEM int SW_SimpleFilletFeatureData_GetItemsCount ( CComPtr< ISimpleFilletFeatureData2 >  __swFeatData)

◆ SW_SimpleFilletFeatureData_GetRadius()

CAD4FE_COMMON_ITEM double SW_SimpleFilletFeatureData_GetRadius ( CComPtr< ISimpleFilletFeatureData2 >  __swFeatData)

◆ SW_SimpleFilletFeatureData_GetRadiusAtItem()

CAD4FE_COMMON_ITEM double SW_SimpleFilletFeatureData_GetRadiusAtItem ( CComPtr< ISimpleFilletFeatureData2 >  __swFeatData,
LPUNKNOWN  __item 
)

◆ SW_SimpleFilletFeatureData_ReleaseSelectionAccess()

CAD4FE_COMMON_ITEM void SW_SimpleFilletFeatureData_ReleaseSelectionAccess ( CComPtr< ISimpleFilletFeatureData2 >  __swFeatData)

◆ SW_Sketch_GetModelCoordinateInSketchSpace()

CAD4FE_COMMON_ITEM void SW_Sketch_GetModelCoordinateInSketchSpace ( CComPtr< ISketch >  __sketch,
double  __pos_3D[3],
double  __pos_sketch[3] 
)

◆ SW_Sketch_GetPlaneParams()

CAD4FE_COMMON_ITEM void SW_Sketch_GetPlaneParams ( CComPtr< ISketch > &  __swSketch,
double  __origin[3],
double  __normal[3],
double  __XVector[3] 
)

◆ SW_Sketch_Select()

CAD4FE_COMMON_ITEM int SW_Sketch_Select ( CComPtr< ISketch >  __swSketch,
CComPtr< ISelectData >  __swSelData 
)

◆ SW_Sketch_Select_and_Mark()

CAD4FE_COMMON_ITEM void SW_Sketch_Select_and_Mark ( CComPtr< ISketch >  __sketch,
bool  __append,
long  __mark 
)

◆ SW_SketchPoint_Select()

CAD4FE_COMMON_ITEM int SW_SketchPoint_Select ( CComPtr< ISketchPoint >  __swSketchPoint,
CComPtr< ISelectData >  __swSelData 
)

◆ SW_SketchSegment_GetTessPts()

CAD4FE_COMMON_ITEM void SW_SketchSegment_GetTessPts ( CComPtr< ISketchSegment > &  __swSketchSegment,
double *  __tessPts,
int *  __size,
double  nChordTol = .001,
double  nLengthTol = .001 
)

this function returns the tessellation points of Sketch segment

◆ SW_SketchSegment_Select()

CAD4FE_COMMON_ITEM int SW_SketchSegment_Select ( CComPtr< ISketchSegment >  __swSketchSegment,
CComPtr< ISelectData >  __swSelData 
)

◆ SW_Surface_Evaluate1() [1/2]

CAD4FE_COMMON_ITEM int SW_Surface_Evaluate1 ( CComPtr< IFace2 >  face,
double  U,
double  V,
double  point[3],
double  DU[3],
double  DV[3],
double  normal[3] 
)

◆ SW_Surface_Evaluate1() [2/2]

CAD4FE_COMMON_ITEM int SW_Surface_Evaluate1 ( CComPtr< ISurface >  surface,
double  U,
double  V,
double  point[3],
double  DU[3],
double  DV[3],
double  normal[3] 
)

◆ SW_Surface_Evaluate2() [1/2]

CAD4FE_COMMON_ITEM int SW_Surface_Evaluate2 ( CComPtr< IFace2 >  __swFace,
double  U,
double  V,
double  evaluatedPoint[3],
double  DerU[3],
double  DerV[3],
double  DerUV[3],
double  DerUU[3],
double  DerVV[3],
double  normal[3],
int *  numUDerivs,
int *  numVDerivs,
long *  surfIdentity 
)

◆ SW_Surface_Evaluate2() [2/2]

CAD4FE_COMMON_ITEM int SW_Surface_Evaluate2 ( CComPtr< ISurface >  surface,
double  U,
double  V,
double  evaluatedPoint[3],
double  DerU[3],
double  DerV[3],
double  DerUV[3],
double  DerUU[3],
double  DerVV[3],
double  normal[3],
int *  numUDerivs,
int *  numVDerivs,
long *  surfIdentity 
)

◆ SW_Surface_Evaluate3()

CAD4FE_COMMON_ITEM int SW_Surface_Evaluate3 ( CComPtr< ISurface >  surface,
double  U,
double  V,
double  evaluatedPoint[3],
double  DerU[3],
double  DerV[3],
double  DerUV[3],
double  DerUU[3],
double  DerVV[3],
double  normal[3],
int *  numUDerivs,
int *  numVDerivs,
long  surfIdentity = -516 
)

◆ SW_Surface_IsCone()

CAD4FE_COMMON_ITEM bool SW_Surface_IsCone ( CComPtr< ISurface >  __swSurface)

◆ SW_Surface_IsCylinder()

CAD4FE_COMMON_ITEM bool SW_Surface_IsCylinder ( CComPtr< ISurface >  __swSurface)

◆ SW_Surface_IsPlane()

CAD4FE_COMMON_ITEM bool SW_Surface_IsPlane ( CComPtr< ISurface >  __swSurface)

◆ SW_Surface_IsSphere()

CAD4FE_COMMON_ITEM bool SW_Surface_IsSphere ( CComPtr< ISurface >  __swSurface)

◆ SW_Surface_IsSwept()

CAD4FE_COMMON_ITEM bool SW_Surface_IsSwept ( CComPtr< ISurface >  __swSurface)

◆ SW_Surface_IsTorus()

CAD4FE_COMMON_ITEM bool SW_Surface_IsTorus ( CComPtr< ISurface >  __swSurface)

◆ SW_Surface_Parameterization()

void CAD4FE_COMMON_ITEM SW_Surface_Parameterization ( CComPtr< ISurface >  __swSurface,
double  __uRange[2],
double  __vRange[2],
int  __uBoundType[2],
int  __vBoundType[2],
int  __uProps[4],
int  __vProps[4],
int  __numProps[2] 
)

◆ SW_Vertex_GetId()

CAD4FE_COMMON_ITEM int SW_Vertex_GetId ( const CComPtr< IVertex > &  __swVertex)

◆ SW_Vertex_GetPoint()

CAD4FE_COMMON_ITEM void SW_Vertex_GetPoint ( CComPtr< IVertex >  __swVertex,
double  __pnt[3] 
)

◆ SW_Vertex_TestAttribute()

CAD4FE_COMMON_ITEM int SW_Vertex_TestAttribute ( CComPtr< IVertex > &  __swVertex,
CComPtr< IAttributeDef > &   
)

◆ SW_VertexName_Get() [1/2]

bool CAD4FE_COMMON_ITEM SW_VertexName_Get ( CComPtr< IPartDoc >  ,
CComPtr< IVertex >  ,
char **   
)

◆ SW_VertexName_Get() [2/2]

bool CAD4FE_COMMON_ITEM SW_VertexName_Get ( CComPtr< IPartDoc >  ,
CComPtr< IVertex >  ,
std::string &   
)

◆ SW_VertexName_Set() [1/2]

bool CAD4FE_COMMON_ITEM SW_VertexName_Set ( CComPtr< IPartDoc >  ,
CComPtr< IVertex >  ,
char *  ,
bool  overwrite_option = false 
)

◆ SW_VertexName_Set() [2/2]

bool CAD4FE_COMMON_ITEM SW_VertexName_Set ( CComPtr< IPartDoc >  ,
CComPtr< IVertex >  ,
std::string &  ,
bool  overwrite_option = false 
)

◆ swEdgeGetTessPts()

CAD4FE_COMMON_ITEM double* swEdgeGetTessPts ( CComPtr< IEdge > &  __swEdge,
int *  __size,
double  nChordTol = 0.000001,
double  nLengthTol = 0.000001 
)

this function returns the tessellation points of a SolidWorks Edge