/dports/cad/opencascade/opencascade-7.6.0/src/ShapePersistent/ |
H A D | ShapePersistent_Geom2d_Curve.cxx | 105 if (!theCurve.IsNull()) in Handle() 107 if (theMap.IsBound(theCurve)) in Handle() 151 if (!theCurve.IsNull()) in Handle() 153 if (theMap.IsBound(theCurve)) in Handle() 189 if (!theCurve.IsNull()) in Handle() 227 if (!theCurve.IsNull()) in Handle() 265 if (!theCurve.IsNull()) in Handle() 286 if (!theCurve.IsNull()) in Handle() 313 if (!theCurve.IsNull()) in Handle() 344 if (!theCurve.IsNull()) in Handle() [all …]
|
H A D | ShapePersistent_Geom_Curve.cxx | 107 if (!theCurve.IsNull()) in Handle() 109 if (theMap.IsBound(theCurve)) in Handle() 153 if (!theCurve.IsNull()) in Handle() 155 if (theMap.IsBound(theCurve)) in Handle() 191 if (!theCurve.IsNull()) in Handle() 229 if (!theCurve.IsNull()) in Handle() 267 if (!theCurve.IsNull()) in Handle() 288 if (!theCurve.IsNull()) in Handle() 315 if (!theCurve.IsNull()) in Handle() 346 if (!theCurve.IsNull()) in Handle() [all …]
|
H A D | ShapePersistent_Geom2d.cxx | 115 ShapePersistent_Geom2d::Translate(const Handle(Geom2d_Curve)& theCurve, in Handle() 119 if (!theCurve.IsNull()) in Handle() 121 if (theMap.IsBound(theCurve)) in Handle() 122 aPC = Handle(ShapePersistent_Geom2d::Curve)::DownCast(theMap.Find(theCurve)); in Handle() 125 Handle(Standard_Type) aCT = theCurve->DynamicType(); in Handle() 127 … aPC = ShapePersistent_Geom2d_Curve::Translate(Handle(Geom2d_Line)::DownCast(theCurve), theMap); in Handle() 130 … aPC = ShapePersistent_Geom2d_Curve::Translate(Handle(Geom2d_Circle)::DownCast(theCurve), theMap); in Handle() 133 … aPC = ShapePersistent_Geom2d_Curve::Translate(Handle(Geom2d_Ellipse)::DownCast(theCurve), theMap); in Handle() 136 …aPC = ShapePersistent_Geom2d_Curve::Translate(Handle(Geom2d_Hyperbola)::DownCast(theCurve), theMap… in Handle() 139 …aPC = ShapePersistent_Geom2d_Curve::Translate(Handle(Geom2d_Parabola)::DownCast(theCurve), theMap); in Handle() [all …]
|
H A D | ShapePersistent_Geom.cxx | 48 ShapePersistent_Geom::Translate (const Handle(Geom_Curve)& theCurve, in Handle() 52 if (!theCurve.IsNull()) in Handle() 54 if (theMap.IsBound(theCurve)) in Handle() 55 aPC = Handle(Curve)::DownCast(theMap.Find(theCurve)); in Handle() 58 Handle(Standard_Type) aCT = theCurve->DynamicType(); in Handle() 60 aPC = ShapePersistent_Geom_Curve::Translate(Handle(Geom_Line)::DownCast(theCurve), theMap); in Handle() 63 … aPC = ShapePersistent_Geom_Curve::Translate(Handle(Geom_Circle)::DownCast(theCurve), theMap); in Handle() 66 … aPC = ShapePersistent_Geom_Curve::Translate(Handle(Geom_Ellipse)::DownCast(theCurve), theMap); in Handle() 69 … aPC = ShapePersistent_Geom_Curve::Translate(Handle(Geom_Hyperbola)::DownCast(theCurve), theMap); in Handle() 72 … aPC = ShapePersistent_Geom_Curve::Translate(Handle(Geom_Parabola)::DownCast(theCurve), theMap); in Handle() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/StepToTopoDS/ |
H A D | StepToTopoDS_GeometricTool.cxx | 226 const Handle(Geom_Curve)& theCurve, in UpdateParam3d() argument 237 if (theCurve->IsKind(STANDARD_TYPE(Geom_BoundedCurve)) && !theCurve->IsClosed()) in UpdateParam3d() 269 if (theCurve->IsPeriodic()) in UpdateParam3d() 273 else if (theCurve->IsClosed()) in UpdateParam3d() 295 if (theCurve->Value(w1).Distance(theCurve->Value(cf)) < preci) in UpdateParam3d() 299 if (theCurve->Value(w2).Distance(theCurve->Value(cl)) < preci) in UpdateParam3d() 360 w1 = theCurve->ReversedParameter(w1); in UpdateParam3d() 361 w2 = theCurve->ReversedParameter(w2); in UpdateParam3d() 362 theCurve->Reverse(); in UpdateParam3d() 386 w1 = theCurve->ReversedParameter(w1); in UpdateParam3d() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/GeomToStep/ |
H A D | GeomToStep_MakeCurve.cxx | 56 theCurve = MkLine.Value(); in GeomToStep_MakeCurve() 61 theCurve = MkConic.Value(); in GeomToStep_MakeCurve() 86 theCurve = MkBasisC.Value(); in GeomToStep_MakeCurve() 91 theCurve = MkBoundedC.Value(); in GeomToStep_MakeCurve() 107 theCurve = MkLine.Value(); in GeomToStep_MakeCurve() 128 theCurve = MkBoundedC.Value(); in GeomToStep_MakeCurve() 133 theCurve = MkConic.Value(); in GeomToStep_MakeCurve() 147 theCurve = MkBoundedC.Value(); in GeomToStep_MakeCurve() 152 theCurve = MkConic.Value(); in GeomToStep_MakeCurve() 168 theCurve = aMaker.Value(); in GeomToStep_MakeCurve() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/GeomAdaptor/ |
H A D | GeomAdaptor_Curve.hxx | 44 GeomAdaptor_Curve (const Handle(Geom_Curve)& theCurve) in GeomAdaptor_Curve() argument 46 Load (theCurve); in GeomAdaptor_Curve() 50 GeomAdaptor_Curve (const Handle(Geom_Curve)& theCurve, in GeomAdaptor_Curve() argument 54 Load (theCurve, theUFirst, theULast); in GeomAdaptor_Curve() 63 void Load (const Handle(Geom_Curve)& theCurve) in Load() argument 65 if (theCurve.IsNull()) { throw Standard_NullObject(); } in Load() 66 load (theCurve, theCurve->FirstParameter(), theCurve->LastParameter()); in Load() 70 void Load (const Handle(Geom_Curve)& theCurve, in Load() argument 74 if (theCurve.IsNull()) { throw Standard_NullObject(); } in Load() 76 load (theCurve, theUFirst, theULast); in Load()
|
/dports/cad/opencascade/opencascade-7.6.0/inc/ |
H A D | GeomAdaptor_Curve.hxx | 44 GeomAdaptor_Curve (const Handle(Geom_Curve)& theCurve) in GeomAdaptor_Curve() argument 46 Load (theCurve); in GeomAdaptor_Curve() 50 GeomAdaptor_Curve (const Handle(Geom_Curve)& theCurve, in GeomAdaptor_Curve() argument 54 Load (theCurve, theUFirst, theULast); in GeomAdaptor_Curve() 63 void Load (const Handle(Geom_Curve)& theCurve) in Load() argument 65 if (theCurve.IsNull()) { throw Standard_NullObject(); } in Load() 66 load (theCurve, theCurve->FirstParameter(), theCurve->LastParameter()); in Load() 70 void Load (const Handle(Geom_Curve)& theCurve, in Load() argument 74 if (theCurve.IsNull()) { throw Standard_NullObject(); } in Load() 76 load (theCurve, theUFirst, theULast); in Load()
|
H A D | Select3D_SensitiveCurve.hxx | 40 const Handle(Geom_Curve)& theCurve, in Select3D_SensitiveCurve() argument 44 loadPoints (theCurve, theNbPnts); in Select3D_SensitiveCurve() 63 void loadPoints (const Handle(Geom_Curve)& theCurve, in loadPoints() argument 66 …const Standard_Real aStep = (theCurve->LastParameter() - theCurve->FirstParameter()) / (theNbPnts … in loadPoints() 67 Standard_Real aParam = theCurve->FirstParameter(); in loadPoints() 70 myPolyg.SetPnt (aPntIdx, theCurve->Value (aParam)); in loadPoints()
|
H A D | Geom2dAdaptor_Curve.hxx | 65 void Load (const Handle(Geom2d_Curve)& theCurve) in Load() argument 67 if (theCurve.IsNull()) { throw Standard_NullObject(); } in Load() 68 load (theCurve, theCurve->FirstParameter(), theCurve->LastParameter()); in Load() 72 …void Load (const Handle(Geom2d_Curve)& theCurve, const Standard_Real theUFirst, const Standard_Rea… in Load() argument 74 if (theCurve.IsNull()) { throw Standard_NullObject(); } in Load() 76 load (theCurve, theUFirst, theULast); in Load()
|
H A D | ShapePersistent_Geom2d_Curve.hxx | 188 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom2d_Line)& theCurve, 191 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom2d_Circle)& theCurve, 194 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom2d_Ellipse)& theCurve, 197 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom2d_Hyperbola)& theCurve, 200 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom2d_Parabola)& theCurve, 203 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom2d_BezierCurve)& theCurve, 206 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom2d_BSplineCurve)& theCurve, 209 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom2d_TrimmedCurve)& theCurve, 212 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom2d_OffsetCurve)& theCurve,
|
H A D | ShapePersistent_Geom_Curve.hxx | 186 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom_Line)& theCurve, 189 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom_Circle)& theCurve, 192 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom_Ellipse)& theCurve, 195 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom_Hyperbola)& theCurve, 198 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom_Parabola)& theCurve, 201 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom_BezierCurve)& theCurve, 204 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom_BSplineCurve)& theCurve, 207 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom_TrimmedCurve)& theCurve, 210 Standard_EXPORT static Handle(Curve) Translate (const Handle(Geom_OffsetCurve)& theCurve,
|
/dports/cad/opencascade/opencascade-7.6.0/src/HLRBRep/ |
H A D | HLRBRep.cxx | 97 if (theCurve->IsPeriodic() && !GAcurve.IsClosed()) in MakeEdge() 99 theCurve->Segment(sta, end); in MakeEdge() 100 TColgp_Array1OfPnt2d Poles(1, theCurve->NbPoles()); in MakeEdge() 101 TColStd_Array1OfReal knots(1, theCurve->NbKnots()); in MakeEdge() 104 theCurve->Knots(knots); in MakeEdge() 105 theCurve->Multiplicities(mults); in MakeEdge() 106 if (theCurve->IsRational()) { in MakeEdge() 108 ec.PolesAndWeights(theCurve, Poles, Weights); in MakeEdge() 110 theCurve->Degree(), theCurve->IsPeriodic()); in MakeEdge() 113 ec.Poles(theCurve, Poles); in MakeEdge() [all …]
|
/dports/graphics/quesa/quesa-1.8/Source/Core/Geometry/ |
H A D | E3GeometryNURBCurve.h | 73 TQ3Status E3NURBCurve_SetData(TQ3GeometryObject theCurve, const TQ3NURBCurveData *nurbCurveData); 74 TQ3Status E3NURBCurve_GetData(TQ3GeometryObject theCurve, TQ3NURBCurveData *nurbCurveData); 76 TQ3Status E3NURBCurve_SetControlPoint(TQ3GeometryObject theCurve, TQ3Uns32 pointIndex, const TQ3R… 77 TQ3Status E3NURBCurve_GetControlPoint(TQ3GeometryObject theCurve, TQ3Uns32 pointIndex, TQ3Rationa… 78 TQ3Status E3NURBCurve_SetKnot(TQ3GeometryObject theCurve, TQ3Uns32 knotIndex, float knotValue); 79 TQ3Status E3NURBCurve_GetKnot(TQ3GeometryObject theCurve, TQ3Uns32 knotIndex, float *knotValue); 80 TQ3Status E3NURBCurve_GetNumPoints ( TQ3GeometryObject theCurve, TQ3Uns32* numPoints ) ;
|
/dports/cad/opencascade/opencascade-7.6.0/src/BRepLib/ |
H A D | BRepLib_1.cxx | 32 const Adaptor3d_Curve& theCurve, in findNearestValidPoint() argument 46 gp_Pnt aP = theCurve.Value(aStartU); in findNearestValidPoint() 57 Standard_Real aStep = theCurve.Resolution(theTol) * 1.01; in findNearestValidPoint() 65 GeomAbs_CurveType aType = theCurve.GetType(); in findNearestValidPoint() 74 aD1Mag = 1. / theCurve.Resolution(1.) * 0.01; in findNearestValidPoint() 90 aP = theCurve.Value(anEndU); in findNearestValidPoint() 105 theCurve.D1(anUOut, aP, aD1); in findNearestValidPoint() 116 aP = theCurve.Value(anUOut); in findNearestValidPoint() 127 aP = theCurve.Value(anUOut); in findNearestValidPoint() 139 aP = theCurve.Value(aMidU); in findNearestValidPoint() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/Select3D/ |
H A D | Select3D_SensitiveCurve.hxx | 40 const Handle(Geom_Curve)& theCurve, in Select3D_SensitiveCurve() argument 44 loadPoints (theCurve, theNbPnts); in Select3D_SensitiveCurve() 63 void loadPoints (const Handle(Geom_Curve)& theCurve, in loadPoints() argument 66 …const Standard_Real aStep = (theCurve->LastParameter() - theCurve->FirstParameter()) / (theNbPnts … in loadPoints() 67 Standard_Real aParam = theCurve->FirstParameter(); in loadPoints() 70 myPolyg.SetPnt (aPntIdx, theCurve->Value (aParam)); in loadPoints()
|
/dports/cad/opencascade/opencascade-7.6.0/src/Adaptor2d/ |
H A D | Adaptor2d_OffsetCurve.cxx | 55 : myCurve (theCurve), in Adaptor2d_OffsetCurve() 68 (const Handle(Adaptor2d_Curve2d)& theCurve, const Standard_Real theOffset) in Adaptor2d_OffsetCurve() argument 69 : myCurve (theCurve), in Adaptor2d_OffsetCurve() 71 myFirst (theCurve->FirstParameter()), in Adaptor2d_OffsetCurve() 72 myLast (theCurve->LastParameter()) in Adaptor2d_OffsetCurve() 82 const Handle(Adaptor2d_Curve2d)& theCurve, in Adaptor2d_OffsetCurve() argument 86 : myCurve (theCurve), in Adaptor2d_OffsetCurve() 636 if (theCurve->GetType() == GeomAbs_BezierCurve) in nbPoints() 638 nbs = Max(nbs, 3 + theCurve->NbPoles()); in nbPoints() 640 else if (theCurve->GetType() == GeomAbs_BSplineCurve) { in nbPoints() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/BRepMesh/ |
H A D | BRepMesh_ModelPreProcessor.cxx | 198 Standard_Boolean splitCurve(Curve& theCurve, const Standard_Real theDU) const in splitCurve() argument 201 …PointType aDir = theCurve->GetPoint(theCurve->ParametersNb() - 1).Coord() - theCurve->GetPoint(0).… in splitCurve() 209 const Standard_Real aLastParam = theCurve->GetParameter(theCurve->ParametersNb() - 1); in splitCurve() 210 const Standard_Boolean isReversed = theCurve->GetParameter(0) > aLastParam; in splitCurve() 213 …const Standard_Real aCurrParam = theCurve->GetParameter(0) + aPointIdx * theDU * (isReversed ? -1.… in splitCurve() 220 theCurve->InsertPoint(theCurve->ParametersNb() - 1, in splitCurve() 221 theCurve->GetPoint(0).Translated (aDir * aPointIdx * theDU), in splitCurve()
|
/dports/cad/opencascade/opencascade-7.6.0/src/GeomLib/ |
H A D | GeomLib_Check2dBSplineCurve.cxx | 167 void GeomLib_Check2dBSplineCurve::FixTangentOnCurve(Handle(Geom2d_BSplineCurve)& theCurve, in FixTangentOnCurve() argument 172 gp_XY XY1 = theCurve->Pole(1).XY(); in FixTangentOnCurve() 173 gp_XY XY2 = theCurve->Pole(myIndSecondPole).XY(); in FixTangentOnCurve() 179 theCurve->SetPole(i, aNewPole); in FixTangentOnCurve() 184 Standard_Integer num_poles = theCurve->NbPoles() ; in FixTangentOnCurve() 186 gp_XY XY1 = theCurve->Pole(num_poles).XY(); in FixTangentOnCurve() 187 gp_XY XY2 = theCurve->Pole(myIndPrelastPole).XY(); in FixTangentOnCurve() 193 theCurve->SetPole(i, aNewPole); in FixTangentOnCurve()
|
H A D | GeomLib_CheckBSplineCurve.cxx | 168 void GeomLib_CheckBSplineCurve::FixTangentOnCurve(Handle(Geom_BSplineCurve)& theCurve, in FixTangentOnCurve() argument 173 gp_XYZ XYZ1 = theCurve->Pole(1).XYZ(); in FixTangentOnCurve() 174 gp_XYZ XYZ2 = theCurve->Pole(myIndSecondPole).XYZ(); in FixTangentOnCurve() 180 theCurve->SetPole(i, aNewPole); in FixTangentOnCurve() 185 Standard_Integer num_poles = theCurve->NbPoles() ; in FixTangentOnCurve() 187 gp_XYZ XYZ1 = theCurve->Pole(num_poles).XYZ(); in FixTangentOnCurve() 188 gp_XYZ XYZ2 = theCurve->Pole(myIndPrelastPole).XYZ(); in FixTangentOnCurve() 194 theCurve->SetPole(i, aNewPole); in FixTangentOnCurve()
|
/dports/cad/opencascade/opencascade-7.6.0/src/Geom2dAdaptor/ |
H A D | Geom2dAdaptor_Curve.hxx | 65 void Load (const Handle(Geom2d_Curve)& theCurve) in Load() argument 67 if (theCurve.IsNull()) { throw Standard_NullObject(); } in Load() 68 load (theCurve, theCurve->FirstParameter(), theCurve->LastParameter()); in Load() 72 …void Load (const Handle(Geom2d_Curve)& theCurve, const Standard_Real theUFirst, const Standard_Rea… in Load() argument 74 if (theCurve.IsNull()) { throw Standard_NullObject(); } in Load() 76 load (theCurve, theUFirst, theULast); in Load()
|
/dports/cad/opencascade/opencascade-7.6.0/src/GCPnts/ |
H A D | GCPnts_DistFunction.cxx | 21 GCPnts_DistFunction::GCPnts_DistFunction(const Adaptor3d_Curve& theCurve, in GCPnts_DistFunction() argument 23 : myCurve(theCurve), in GCPnts_DistFunction() 26 gp_Pnt P1 = theCurve.Value(U1), P2 = theCurve.Value(U2); in GCPnts_DistFunction() 34 theCurve.D0(U1 + .01*(U2-U1), P2); in GCPnts_DistFunction()
|
H A D | GCPnts_DistFunction2d.cxx | 22 GCPnts_DistFunction2d::GCPnts_DistFunction2d(const Adaptor2d_Curve2d& theCurve, in GCPnts_DistFunction2d() argument 24 : myCurve(theCurve), in GCPnts_DistFunction2d() 27 gp_Pnt2d P2d1 = theCurve.Value(U1), P2d2 = theCurve.Value(U2); in GCPnts_DistFunction2d() 35 theCurve.D0(U1 + .01*(U2 - U1), P2d2); in GCPnts_DistFunction2d()
|
/dports/cad/opencascade/opencascade-7.6.0/src/GeomConvert/ |
H A D | GeomConvert_ApproxCurve.cxx | 119 const Handle(Adaptor3d_Curve)& theCurve, in Approximate() argument 132 Standard_Real First = theCurve->FirstParameter(); in Approximate() 133 Standard_Real Last = theCurve->LastParameter(); in Approximate() 135 Standard_Integer NbInterv_C2 = theCurve->NbIntervals(GeomAbs_C2); in Approximate() 137 theCurve->Intervals(CutPnts_C2,GeomAbs_C2); in Approximate() 138 Standard_Integer NbInterv_C3 = theCurve->NbIntervals(GeomAbs_C3); in Approximate() 140 theCurve->Intervals(CutPnts_C3,GeomAbs_C3); in Approximate() 146 GeomConvert_ApproxCurve_Eval ev (theCurve, First, Last); in Approximate()
|
/dports/cad/opencascade/opencascade-7.6.0/src/Geom2dConvert/ |
H A D | Geom2dConvert_ApproxCurve.cxx | 121 void Geom2dConvert_ApproxCurve::Approximate(const Handle(Adaptor2d_Curve2d)& theCurve, in Approximate() argument 134 Standard_Real First = theCurve->FirstParameter(); in Approximate() 135 Standard_Real Last = theCurve->LastParameter(); in Approximate() 137 Standard_Integer NbInterv_C2 = theCurve->NbIntervals(GeomAbs_C2); in Approximate() 139 theCurve->Intervals(CutPnts_C2,GeomAbs_C2); in Approximate() 140 Standard_Integer NbInterv_C3 = theCurve->NbIntervals(GeomAbs_C3); in Approximate() 142 theCurve->Intervals(CutPnts_C3,GeomAbs_C3); in Approximate() 147 Geom2dConvert_ApproxCurve_Eval ev (theCurve, First, Last); in Approximate()
|