gp_Pnt2dPoint1,Point2;...//Initialization of Point1 and Point2gce_MakeLin2dL=gce_MakeLin2d(Point1,Point2);if(L.Status()==gce_Done()){gp_Lin2dl=L.Value(); 如果您不确定参数是否可以创建gp对象而不引发异常,这将非常有用。在上面的情况中,如果Point1和Point2比MakeLin2d所需的容差值更接近...
void Geom_Line::SetLin(constgp_Lin&L) Set <me> so that <me> has the same geometric properties as L. void Geom_Line::SetLocation(constgp_Pnt&P) changes the "Location" point (origin) of the line. void Geom_Line::SetPosition(constgp_Ax1&A1) ...
BRepBuilderAPI_MakeEdge(const gp_Lin& L); //通过射线构造边 gp_Elips Elips(gp_Ax2(gp_Pnt(10,0,0),gp_Dir(1,1,1)),60,30); RedEdge = BRepBuilderAPI_MakeEdge(Elips,0,PI/2); //生成四分一圆边 此外gp_Circ(圆)、gp_Elips(椭圆)、gp_Hypr(双曲线一支)、gp_Parab(抛物线)、Geom_Curve...
Approx_CurvlinFunc.hxx Approx_FitAndDivide.hxx Approx_FitAndDivide2d.hxx Approx_HArray1OfAdHSurface.hxx Approx_HArray1OfGTrsf2d.hxx Approx_MCurvesToBSpCurve.hxx Approx_ParametrizationType.hxx Approx_SameParameter.hxx Approx_SequenceNodeOfSequenceOfHArray1OfReal.hxx Approx_Sequen...
gp_Lin BiTgte_CurveOnEdge::Line ( ) const overridevirtual Reimplemented from Adaptor3d_Curve. ◆ NbIntervals() Standard_Integer BiTgte_CurveOnEdge::NbIntervals ( const GeomAbs_Shape S ) const overridevirtual Returns the number of intervals for continuity <S>. May be one if Continuity(me...
GProp_CelGProps::GProp_CelGProps(constgp_Circ&C, constgp_Pnt&CLocation ) GProp_CelGProps::GProp_CelGProps(constgp_Circ&C, constStandard_RealU1, constStandard_RealU2, constgp_Pnt&CLocation ) GProp_CelGProps::GProp_CelGProps(constgp_Lin&C, ...
Open CASCADE Technology (OCCT) is an open-source software development platform for 3D CAD, CAM, CAE. This is a clone of the official repository located on https://dev.opencascade.org/. Please use official development portal for registering issues and pro
const gp_Pnt2d & P1, const gp_Pnt2d & P2 ) BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ( const gp_Lin2d & L, const TopoDS_Vertex & V1, const TopoDS_Vertex & V2 ) BRepBuilderAPI_MakeEdge2d::BRepBuilderAPI_MakeEdge2d ( const gp_Circ2d & L ) BRep...
operator gp_Dir() : gce_MakeDir operator gp_Dir2d() : gce_MakeDir2d operator gp_Elips() : gce_MakeElips operator gp_Elips2d() : gce_MakeElips2d operator gp_Hypr() : gce_MakeHypr operator gp_Hypr2d() : gce_MakeHypr2d operator gp_Lin() : gce_MakeLin operator gp_Lin2d...
If the curves and surfaces provided by the gp package are not explicitly parameterized, they still have an implicit parameterization, similar to that which they infer for the equivalent Geom or Geom2d objects. Add : Package to compute the bounding boxes for elementary objects from gp in 2d and...