|
| OCC_Internals () |
|
bool | getChanged () const |
|
void | reset () |
|
void | setMaxTag (int dim, int val) |
|
int | getMaxTag (int dim) const |
|
bool | addVertex (int &tag, double x, double y, double z, double meshSize=MAX_LC) |
|
bool | addLine (int &tag, int startTag, int endTag) |
|
bool | addLine (int &tag, const std::vector< int > &pointTags) |
|
bool | addCircleArc (int &tag, int startTag, int centerTag, int endTag) |
|
bool | addCircle (int &tag, double x, double y, double z, double r, double angle1, double angle2, const std::vector< double > &N=std::vector< double >(), const std::vector< double > &V=std::vector< double >()) |
|
bool | addEllipseArc (int &tag, int startTag, int centerTag, int majorTag, int endTag) |
|
bool | addEllipse (int &tag, double x, double y, double z, double r1, double r2, double angle1, double angle2, const std::vector< double > &N=std::vector< double >(), const std::vector< double > &V=std::vector< double >()) |
|
bool | addSpline (int &tag, const std::vector< int > &pointTags, const std::vector< SVector3 > &tangents=std::vector< SVector3 >()) |
|
bool | addBezier (int &tag, const std::vector< int > &pointTags) |
|
bool | addBSpline (int &tag, const std::vector< int > &pointTags, const int degree=-1, const std::vector< double > &weights=std::vector< double >(), const std::vector< double > &knots=std::vector< double >(), const std::vector< int > &multiplicities=std::vector< int >()) |
|
bool | addWire (int &tag, const std::vector< int > &curveTags, bool closed) |
|
bool | addCurveLoop (int &tag, const std::vector< int > &curveTags) |
|
bool | addRectangle (int &tag, double x, double y, double z, double dx, double dy, double roundedRadius=0.) |
|
bool | addDisk (int &tag, double xc, double yc, double zc, double rx, double ry, const std::vector< double > &N=std::vector< double >(), const std::vector< double > &V=std::vector< double >()) |
|
bool | addPlaneSurface (int &tag, const std::vector< int > &wireTags) |
|
bool | addSurfaceFilling (int &tag, int wireTag, const std::vector< int > &pointTags=std::vector< int >(), const std::vector< int > &surfaceTags=std::vector< int >(), const std::vector< int > &surfaceContinuity=std::vector< int >(), const int degree=2, const int numPointsOnCurves=15, const int numIter=2, const bool anisotropic=false, const double tol2d=0.00001, const double tol3d=0.0001, const double tolAng=0.01, const double tolCurv=0.1, const int maxDegree=8, const int maxSegments=9) |
|
bool | addBSplineFilling (int &tag, int wireTag, const std::string &type="") |
|
bool | addBezierFilling (int &tag, int wireTag, const std::string &type="") |
|
bool | addBSplineSurface (int &tag, const std::vector< int > &pointTags, const int numPointsU, const int degreeU, const int degreeV, const std::vector< double > &weights, const std::vector< double > &knotsU, const std::vector< double > &knotsV, const std::vector< int > &multiplicitiesU, const std::vector< int > &multiplicitiesV, const std::vector< int > &wireTags=std::vector< int >(), bool wire3D=true) |
|
bool | addBezierSurface (int &tag, const std::vector< int > &pointTags, const int numPointsU, const std::vector< int > &wireTags=std::vector< int >(), bool wire3D=true) |
|
bool | addTrimmedSurface (int &tag, int surfaceTag, const std::vector< int > &wireTags, bool wire3D) |
|
bool | addSurfaceLoop (int &tag, const std::vector< int > &surfaceTags, bool sewing) |
|
bool | addVolume (int &tag, const std::vector< int > &shellTags) |
|
bool | addSphere (int &tag, double xc, double yc, double zc, double radius, double angle1, double angle2, double angle3) |
|
bool | addBox (int &tag, double x, double y, double z, double dx, double dy, double dz) |
|
bool | addCylinder (int &tag, double x, double y, double z, double dx, double dy, double dz, double r, double angle) |
|
bool | addCone (int &tag, double x, double y, double z, double dx, double dy, double dz, double r1, double r2, double angle) |
|
bool | addWedge (int &tag, double x, double y, double z, double dx, double dy, double dz, double ltx, const std::vector< double > &N=std::vector< double >()) |
|
bool | addTorus (int &tag, double x, double y, double z, double r1, double r2, double angle, const std::vector< double > &N=std::vector< double >()) |
|
bool | addThruSections (int tag, const std::vector< int > &wireTags, bool makeSolid, bool makeRuled, std::vector< std::pair< int, int > > &outDimTags, int maxDegree=-1, const std::string &continuity="", const std::string ¶metrization="", bool smoothing=false) |
|
bool | addThickSolid (int tag, int solidTag, const std::vector< int > &excludeFaceTags, double offset, std::vector< std::pair< int, int > > &outDimTags) |
|
bool | extrude (const std::vector< std::pair< int, int > > &inDimTags, double dx, double dy, double dz, std::vector< std::pair< int, int > > &outDimTags, ExtrudeParams *e=0) |
|
bool | revolve (const std::vector< std::pair< int, int > > &inDimTags, double x, double y, double z, double ax, double ay, double az, double angle, std::vector< std::pair< int, int > > &outDimTags, ExtrudeParams *e=0) |
|
bool | addPipe (const std::vector< std::pair< int, int > > &inDimTags, int wireTag, std::vector< std::pair< int, int > > &outDimTags, const std::string &trihedron="") |
|
bool | fillet (const std::vector< int > &volumeTags, const std::vector< int > &curveTags, const std::vector< double > &radii, std::vector< std::pair< int, int > > &outDimTags, bool removeVolume) |
|
bool | chamfer (const std::vector< int > &volumeTags, const std::vector< int > &curveTags, const std::vector< int > &surfaceTags, const std::vector< double > &distances, std::vector< std::pair< int, int > > &outDimTags, bool removeVolume) |
|
bool | booleanOperator (int tag, BooleanOperator op, const std::vector< std::pair< int, int > > &objectDimTags, const std::vector< std::pair< int, int > > &toolDimTags, std::vector< std::pair< int, int > > &outDimTags, std::vector< std::vector< std::pair< int, int > > > &outDimTagsMap, bool removeObject, bool removeTool) |
|
bool | booleanUnion (int tag, const std::vector< std::pair< int, int > > &objectDimTags, const std::vector< std::pair< int, int > > &toolDimTags, std::vector< std::pair< int, int > > &outDimTags, std::vector< std::vector< std::pair< int, int > > > &outDimTagsMap, bool removeObject, bool removeTool) |
|
bool | booleanIntersection (int tag, const std::vector< std::pair< int, int > > &objectDimTags, const std::vector< std::pair< int, int > > &toolDimTags, std::vector< std::pair< int, int > > &outDimTags, std::vector< std::vector< std::pair< int, int > > > &outDimTagsMap, bool removeObject, bool removeTool) |
|
bool | booleanDifference (int tag, const std::vector< std::pair< int, int > > &objectDimTags, const std::vector< std::pair< int, int > > &toolDimTags, std::vector< std::pair< int, int > > &outDimTags, std::vector< std::vector< std::pair< int, int > > > &outDimTagsMap, bool removeObject, bool removeTool) |
|
bool | booleanFragments (int tag, const std::vector< std::pair< int, int > > &objectDimTags, const std::vector< std::pair< int, int > > &toolDimTags, std::vector< std::pair< int, int > > &outDimTags, std::vector< std::vector< std::pair< int, int > > > &outDimTagsMap, bool removeObject, bool removeTool) |
|
void | removeAllDuplicates () |
|
bool | mergeVertices (const std::vector< int > &tags) |
|
bool | translate (const std::vector< std::pair< int, int > > &inDimTags, double dx, double dy, double dz) |
|
bool | rotate (const std::vector< std::pair< int, int > > &inDimTags, double x, double y, double z, double ax, double ay, double az, double angle) |
|
bool | dilate (const std::vector< std::pair< int, int > > &inDimTags, double x, double y, double z, double a, double b, double c) |
|
bool | symmetry (const std::vector< std::pair< int, int > > &inDimTags, double a, double b, double c, double d) |
|
bool | affine (const std::vector< std::pair< int, int > > &inDimTags, const std::vector< double > &mat) |
|
bool | copy (const std::vector< std::pair< int, int > > &inDimTags, std::vector< std::pair< int, int > > &outDimTags) |
|
bool | remove (int dim, int tag, bool recursive=false) |
|
bool | remove (const std::vector< std::pair< int, int > > &dimTags, bool recursive=false) |
|
bool | importShapes (const std::string &fileName, bool highestDimOnly, std::vector< std::pair< int, int > > &outDimTags, const std::string &format="") |
|
bool | healShapes (const std::vector< std::pair< int, int > > &inDimTags, std::vector< std::pair< int, int > > &outDimTags, double tolerance, bool fixDegenerated, bool fixSmallEdges, bool fixSmallFaces, bool sewFaces, bool makeSolids) |
|
bool | convertToNURBS (const std::vector< std::pair< int, int > > &dimTags) |
|
void | setMeshSize (int dim, int tag, double size) |
|
void | synchronize (GModel *model) |
|
bool | exportShapes (GModel *model, const std::string &fileName, const std::string &format="", bool onlyVisible=false) |
|
bool | getEntities (std::vector< std::pair< int, int > > &dimTags, int dim) |
|
bool | getVertex (int tag, double &x, double &y, double &z) |
|
bool | getBoundingBox (int dim, int tag, double &xmin, double &ymin, double &zmin, double &xmax, double &ymax, double &zmax) |
|
bool | getEntitiesInBoundingBox (double xmin, double ymin, double zmin, double xmax, double ymax, double zmax, std::vector< std::pair< int, int > > &dimTags, int dim) |
|
bool | getCurveLoops (int surfaceTag, std::vector< int > &curveLoopTags, std::vector< std::vector< int > > &curveTags) |
|
bool | getSurfaceLoops (int volumeTag, std::vector< int > &surfaceLoopTags, std::vector< std::vector< int > > &surfaceTags) |
|
bool | getMass (int dim, int tag, double &mass) |
|
bool | getCenterOfMass (int dim, int tag, double &x, double &y, double &z) |
|
bool | getMatrixOfInertia (int dim, int tag, std::vector< double > &mat) |
|
double | getDistance (int dim1, int tag1, int dim2, int tag2, double &x1, double &y1, double &z1, double &x2, double &y2, double &z2) |
|
bool | makeRectangleSTL (double x, double y, double z, double dx, double dy, double roundedRadius, std::vector< SPoint3 > &vertices, std::vector< SVector3 > &normals, std::vector< int > &triangles) |
|
bool | makeDiskSTL (double xc, double yc, double zc, double rx, double ry, std::vector< SPoint3 > &vertices, std::vector< SVector3 > &normals, std::vector< int > &triangles) |
|
bool | makeSphereSTL (double xc, double yc, double zc, double radius, double angle1, double angle2, double angle3, std::vector< SPoint3 > &vertices, std::vector< SVector3 > &normals, std::vector< int > &triangles) |
|
bool | makeBoxSTL (double x, double y, double z, double dx, double dy, double dz, std::vector< SPoint3 > &vertices, std::vector< SVector3 > &normals, std::vector< int > &triangles) |
|
bool | makeCylinderSTL (double x, double y, double z, double dx, double dy, double dz, double r, double angle, std::vector< SPoint3 > &vertices, std::vector< SVector3 > &normals, std::vector< int > &triangles) |
|
bool | makeConeSTL (double x, double y, double z, double dx, double dy, double dz, double r1, double r2, double angle, std::vector< SPoint3 > &vertices, std::vector< SVector3 > &normals, std::vector< int > &triangles) |
|
bool | makeWedgeSTL (double x, double y, double z, double dx, double dy, double dz, double ltx, std::vector< SPoint3 > &vertices, std::vector< SVector3 > &normals, std::vector< int > &triangles) |
|
bool | makeTorusSTL (double x, double y, double z, double r1, double r2, double angle, std::vector< SPoint3 > &vertices, std::vector< SVector3 > &normals, std::vector< int > &triangles) |
|