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所需的容差值更接近...
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...
class gp_Lin2d; class BRepClass_Edge; 3 changes: 0 additions & 3 deletions 3 src/BRepClass/BRepClass_FacePassiveClassifier.hxx Original file line numberDiff line numberDiff line change @@ -19,11 +19,8 @@ #include <Standard.hxx> #include <Standard_DefineAlloc.hxx> #include <Standard...
static void Add (const gp_Lin2d &L, const Standard_Real P1, const Standard_Real P2, const Standard_Real Tol, Bnd_Box2d &B) static void Add (const gp_Circ &C, const Standard_Real Tol, Bnd_Box &B) static void Add (const gp_Circ &C, const Standard_Real P1, const Standard_Real ...
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) ...
gp_Lin GeomAdaptor_Curve::Line ( ) const overridevirtual Reimplemented from Adaptor3d_Curve.◆ Load() [1/2]void GeomAdaptor_Curve::Load ( const Handle< Geom_Curve > & C ) ◆ Load() [2/2]void GeomAdaptor_Curve::Load ( const Handle< Geom_Curve > & C, const Standard_Real U...
gp_Lin BRepAdaptor_Curve::Line ( ) const virtual Reimplemented from Adaptor3d_Curve. Standard_Integer BRepAdaptor_Curve::NbIntervals ( const GeomAbs_Shape S ) const virtual Returns the number of intervals for continuity <S>. May be one if Continuity(me) >= <S> Reimplemented from Adapto...
IntAna_IntConicQuad (const gp_Lin &L, const IntAna_Quadric &Q) Creates the intersection between a line and a quadric. More... void Perform (const gp_Lin &L, const IntAna_Quadric &Q) Intersects a line and a quadric. More... IntAna_IntConicQuad (const gp_Circ &C, const IntAna_...
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...
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_SequenceOfHArray1OfRea...