dxConvex::dxConvex (dSpaceID space, dReal *_planes, unsigned int _planecount, dReal *_points, unsigned int _pointcount, unsigned int *_polygons) : dxGeom (space,1) { dAASSERT (_planes != NULL); dAASSERT (_points != NULL); dAASSERT (_polygons != NULL); //fprintf(stdout,"dxConvex Constructor planes %X\n",_planes); type = dConvexClass; planes = _planes; planecount = _planecount; // we need points as well points = _points; pointcount = _pointcount; polygons=_polygons; FillEdges(); }
void Fill(VertexIt begin, VertexIt end, bool add_conjugate) { FillVertices(begin, end, add_conjugate); FillEdges(); }
void Fill(VertexIt begin, VertexIt end) { FillVertices(begin, end); FillEdges(); }
//======================================================================= //function : Perform //purpose : //======================================================================= void GEOMAlgo_Gluer2::Perform() { myErrorStatus=0; myWarningStatus=0; // CheckData(); if (myErrorStatus) { return; } // // Initialize the context GEOMAlgo_GluerAlgo::Perform(); // PerformShapesToWork(); if (myErrorStatus) { return; } if (myWarningStatus==1) { // no shapes to glue myShape=myArgument; return; } // FillVertices(); if (myErrorStatus) { return; } // FillEdges(); if (myErrorStatus) { return; } // FillWires(); if (myErrorStatus) { return; } // FillFaces(); if (myErrorStatus) { return; } // FillShells(); if (myErrorStatus) { return; } // FillSolids(); if (myErrorStatus) { return; } // FillCompSolids(); if (myErrorStatus) { return; } // FillCompounds(); if (myErrorStatus) { return; } // BuildResult(); if (myErrorStatus) { return; } // PrepareHistory(); if (myErrorStatus) { return; } // BRepLib::SameParameter(myShape, myTolerance, Standard_True); }