/dports/cad/opencascade/opencascade-7.6.0/src/Select3D/ |
H A D | Select3D_SensitiveTriangle.cxx | 37 myPoints[0] = thePnt0; in IMPLEMENT_STANDARD_RTTIEXT() 38 myPoints[1] = thePnt1; in IMPLEMENT_STANDARD_RTTIEXT() 56 return theMgr.OverlapsTriangle (myPoints[0], myPoints[1], myPoints[2], mySensType, aDummy); in Matches() 63 if (!theMgr.OverlapsTriangle (myPoints[0], myPoints[1], myPoints[2], mySensType, thePickResult)) in Matches() 80 new Select3D_SensitiveTriangle (myOwnerId, myPoints[0], myPoints[1], myPoints[2], mySensType); in Handle() 93 …const SelectMgr_Vec3 aMinPnt = SelectMgr_Vec3 (Min (myPoints[0].X(), Min (myPoints[1].X(), myPoint… in BoundingBox() 94 … Min (myPoints[0].Y(), Min (myPoints[1].Y(), myPoints[2].Y())), in BoundingBox() 95 … Min (myPoints[0].Z(), Min (myPoints[1].Z(), myPoints[2].Z()))); in BoundingBox() 96 …const SelectMgr_Vec3 aMaxPnt = SelectMgr_Vec3 (Max (myPoints[0].X(), Max (myPoints[1].X(), myPoint… in BoundingBox() 97 … Max (myPoints[0].Y(), Max (myPoints[1].Y(), myPoints[2].Y())), in BoundingBox() [all …]
|
H A D | Select3D_SensitiveTriangle.hxx | 50 thePnt0 = myPoints[0]; in Points3D() 51 thePnt1 = myPoints[1]; in Points3D() 52 thePnt2 = myPoints[2]; in Points3D() 82 gp_Pnt myPoints[3]; member in Select3D_SensitiveTriangle
|
/dports/cad/opencascade/opencascade-7.6.0/src/Intf/ |
H A D | Intf_SectionLine.cxx | 38 myPoints=Other.myPoints; in Intf_SectionLine() 49 myPoints.Append(Pi); in Append() 59 myPoints.Append(LS.myPoints); in Append() 69 myPoints.Prepend(Pi); in Prepend() 79 myPoints.Prepend(LS.myPoints); in Prepend() 89 myPoints.Reverse(); in Reverse() 111 return myPoints.Value(index); in GetPoint() 128 return (myPoints.First()==myPoints.Last()); in IsClosed() 154 if (myPoints.Last().IsEqual(ThePI)) return myPoints.Length(); in IsEnd() 167 if (myPoints.Length() != Other.myPoints.Length()) in IsEqual() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/LocOpe/ |
H A D | LocOpe_CurveShapeIntersector.cxx | 44 myPoints.Clear(); in Init() 52 Perform(theInt,myPoints); in Init() 66 myPoints.Clear(); in Init() 78 Perform(theInt,myPoints); in Init() 111 Or = myPoints(i).Orientation(); in LocalizeAfter() 112 param = myPoints(i).Parameter(); in LocalizeAfter() 168 Or = myPoints(i).Orientation(); in LocalizeBefore() 169 param = myPoints(i).Parameter(); in LocalizeBefore() 237 Or = myPoints(i).Orientation(); in LocalizeAfter() 238 param = myPoints(i).Parameter(); in LocalizeAfter() [all …]
|
H A D | LocOpe_CSIntersector.cxx | 66 if (myPoints != NULL) { in Init() 67 delete [] (LocOpe_SequenceOfPntFace *)myPoints; in Init() 68 myPoints = NULL; in Init() 87 if (myPoints != NULL) { in Perform() 90 myPoints = in Perform() 123 if (myPoints != NULL) { in Perform() 126 myPoints = in Perform() 165 if (myPoints != NULL) { in Perform() 168 myPoints = in Perform() 232 if (myPoints != NULL) { in Destroy() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/AIS/ |
H A D | AIS_RubberBand.cxx | 110 myPoints.Clear(); in ~AIS_RubberBand() 122 myPoints.Clear(); in SetRectangle() 123 myPoints.Append (Graphic3d_Vec2i (theMinX, theMinY)); in SetRectangle() 135 myPoints.Append (thePoint); in AddPoint() 144 myPoints.Remove (myPoints.Length()); in RemoveLastPoint() 153 return myPoints; in Points() 302 Standard_Integer aPtsLower = myPoints.Lower(); in fillTriangles() 303 Standard_Integer aPtsUpper = myPoints.Upper(); in fillTriangles() 317 aPtSum += (Standard_Real)(myPoints.Value (aNextIdx).x() - myPoints.Value (aIdx).x()) in fillTriangles() 318 * (Standard_Real)(myPoints.Value (aNextIdx).y() + myPoints.Value (aIdx).y()); in fillTriangles() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/BRepMeshData/ |
H A D | BRepMeshData_Curve.cxx | 28 : myPoints (NCollection_StdAllocator<gp_Pnt>(theAllocator)), in IMPLEMENT_STANDARD_RTTIEXT() 50 myPoints .insert(myPoints .begin() + thePosition, thePoint); in InsertPoint() 62 myPoints .push_back(thePoint); in AddPoint() 72 return myPoints[theIndex]; in GetPoint() 99 myPoints.erase(myPoints.begin() + theIndex); in RemovePoint() 120 myPoints .clear(); in Clear() 125 myPoints .erase(myPoints .begin() + 1, myPoints .begin() + (myPoints .size() - 1)); in Clear()
|
/dports/cad/opencascade/opencascade-7.6.0/src/HLRAlgo/ |
H A D | HLRAlgo_BiPoint.cxx | 47 myPoints.Pnt1.SetCoord(X1, Y1, Z1); in HLRAlgo_BiPoint() 48 myPoints.Pnt2.SetCoord(X2, Y2, Z2); in HLRAlgo_BiPoint() 82 myPoints.Pnt1 = gp_XYZ(X1, Y1, Z1); in HLRAlgo_BiPoint() 83 myPoints.Pnt2 = gp_XYZ(X2, Y2, Z2); in HLRAlgo_BiPoint() 119 myPoints.Pnt1.SetCoord(X1, Y1, Z1); in HLRAlgo_BiPoint() 120 myPoints.Pnt2.SetCoord(X2, Y2, Z2); in HLRAlgo_BiPoint() 159 myPoints.Pnt1.SetCoord(X1, Y1, Z1); in HLRAlgo_BiPoint() 160 myPoints.Pnt2.SetCoord(X2, Y2, Z2); in HLRAlgo_BiPoint() 201 myPoints.Pnt1.SetCoord(X1, Y1, Z1); in HLRAlgo_BiPoint() 202 myPoints.Pnt2.SetCoord(X2, Y2, Z2); in HLRAlgo_BiPoint() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/Geom2dHatch/ |
H A D | Geom2dHatch_Hatching.cxx | 168 Standard_Integer NbPoints = myPoints.Length () ; in AddPoint() 176 myPoints.Append (Point) ; in AddPoint() 180 myPoints.InsertBefore (IPntH, Point) ; in AddPoint() 198 return myPoints.Length () ; in NbPoints() 209 Standard_Integer NbPoints = myPoints.Length () ; in Point() 212 const HatchGen_PointOnHatching& Point = myPoints.Value (Index) ; in Point() 224 Standard_Integer NbPoints = myPoints.Length () ; in ChangePoint() 227 HatchGen_PointOnHatching& Point = myPoints.ChangeValue (Index) ; in ChangePoint() 239 Standard_Integer NbPoints = myPoints.Length () ; in RemPoint() 243 myPoints.Remove (Index) ; in RemPoint() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/HatchGen/ |
H A D | HatchGen_PointOnHatching.cxx | 33 myPoints () in HatchGen_PointOnHatching() 55 myPoints.Clear() ; in HatchGen_PointOnHatching() 66 Standard_Integer NbPnt = myPoints.Length() ; in AddPoint() 72 if (IPnt > NbPnt) myPoints.Append (Point) ; in AddPoint() 83 return myPoints.Length() ; in NbPoints() 94 Standard_Integer NbPnt = myPoints.Length() ; in Point() 97 const HatchGen_PointOnElement& Point = myPoints.Value (Index) ; in Point() 109 Standard_Integer NbPnt = myPoints.Length() ; in RemPoint() 112 myPoints.Remove (Index) ; in RemPoint() 122 myPoints.Clear() ; in ClrPoints() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/IntPolyh/ |
H A D | IntPolyh_Triangle.hxx | 42 myPoints[0] = -1; in IntPolyh_Triangle() 43 myPoints[1] = -1; in IntPolyh_Triangle() 44 myPoints[2] = -1; in IntPolyh_Triangle() 63 myPoints[0] = thePoint1; in IntPolyh_Triangle() 64 myPoints[1] = thePoint2; in IntPolyh_Triangle() 65 myPoints[2] = thePoint3; in IntPolyh_Triangle() 77 return myPoints[0]; in FirstPoint() 82 return myPoints[1]; in SecondPoint() 87 return myPoints[2]; in ThirdPoint() 142 myPoints[0] = thePoint; in SetFirstPoint() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/inc/ |
H A D | IntPolyh_Triangle.hxx | 42 myPoints[0] = -1; in IntPolyh_Triangle() 43 myPoints[1] = -1; in IntPolyh_Triangle() 44 myPoints[2] = -1; in IntPolyh_Triangle() 63 myPoints[0] = thePoint1; in IntPolyh_Triangle() 64 myPoints[1] = thePoint2; in IntPolyh_Triangle() 65 myPoints[2] = thePoint3; in IntPolyh_Triangle() 77 return myPoints[0]; in FirstPoint() 82 return myPoints[1]; in SecondPoint() 87 return myPoints[2]; in ThirdPoint() 142 myPoints[0] = thePoint; in SetFirstPoint() [all …]
|
H A D | VrmlData_TextureCoordinate.hxx | 34 : myPoints (0L), myLength (0) {} in VrmlData_TextureCoordinate() 44 myPoints (arrPoints), in VrmlData_TextureCoordinate() 64 inline const gp_XY * Points () { return myPoints; } in Points() 71 { myPoints = arrPoints; myLength = nPoints; } in SetPoints() 90 const gp_XY * myPoints; member in VrmlData_TextureCoordinate
|
H A D | Select3D_SensitiveTriangle.hxx | 50 thePnt0 = myPoints[0]; in Points3D() 51 thePnt1 = myPoints[1]; in Points3D() 52 thePnt2 = myPoints[2]; in Points3D() 82 gp_Pnt myPoints[3]; member in Select3D_SensitiveTriangle
|
/dports/devel/py-cadquery-pywrap/pywrap-e8c7bc9/opencascade/ |
H A D | IntPolyh_Triangle.hxx | 48 myPoints[0] = -1; in IntPolyh_Triangle() 49 myPoints[1] = -1; in IntPolyh_Triangle() 50 myPoints[2] = -1; in IntPolyh_Triangle() 69 myPoints[0] = thePoint1; in IntPolyh_Triangle() 70 myPoints[1] = thePoint2; in IntPolyh_Triangle() 71 myPoints[2] = thePoint3; in IntPolyh_Triangle() 83 return myPoints[0]; in FirstPoint() 88 return myPoints[1]; in SecondPoint() 93 return myPoints[2]; in ThirdPoint() 148 myPoints[0] = thePoint; in SetFirstPoint() [all …]
|
H A D | VrmlData_TextureCoordinate.hxx | 34 : myPoints (0L), myLength (0) {} in VrmlData_TextureCoordinate() 44 myPoints (arrPoints), in VrmlData_TextureCoordinate() 64 inline const gp_XY * Points () { return myPoints; } in Points() 71 { myPoints = arrPoints; myLength = nPoints; } in SetPoints() 90 const gp_XY * myPoints; member in VrmlData_TextureCoordinate
|
H A D | Select3D_SensitiveTriangle.hxx | 50 thePnt0 = myPoints[0]; in Points3D() 51 thePnt1 = myPoints[1]; in Points3D() 52 thePnt2 = myPoints[2]; in Points3D() 76 gp_Pnt myPoints[3]; member in Select3D_SensitiveTriangle
|
/dports/cad/opencascade/opencascade-7.6.0/src/Law/ |
H A D | Law_Interpolate.cxx | 175 myPoints(PointsPtr), in Law_Interpolate() 183 myPoints->Upper()); in Law_Interpolate() 185 myPoints->Upper()); in Law_Interpolate() 204 myPoints(PointsPtr), in Law_Interpolate() 217 myPoints->Upper()); in Law_Interpolate() 219 myPoints->Upper()); in Law_Interpolate() 305 num_points = myPoints->Length(); in PerformPeriodic() 391 for (ii = myPoints->Lower() + 1; ii <= myPoints->Upper(); ii++) { in PerformPeriodic() 412 myPoints->Value(1)); in PerformPeriodic() 590 for (ii = myPoints->Lower() + 1; ii <= myPoints->Upper() - 1; ii++){ in PerformNonPeriodic() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/Geom2dAPI/ |
H A D | Geom2dAPI_Interpolate.cxx | 318 myPoints(PointsPtr), in Geom2dAPI_Interpolate() 330 myPoints->Upper()) ; in Geom2dAPI_Interpolate() 333 myPoints->Upper()) ; in Geom2dAPI_Interpolate() 342 for (ii = myPoints->Lower() ; ii <= myPoints->Upper() ; ii++) { in Geom2dAPI_Interpolate() 361 myPoints(PointsPtr), in Geom2dAPI_Interpolate() 381 myPoints->Upper()) ; in Geom2dAPI_Interpolate() 384 myPoints->Upper()) ; in Geom2dAPI_Interpolate() 396 for (ii = myPoints->Lower() ; ii <= myPoints->Upper() ; ii++) { in Geom2dAPI_Interpolate() 633 for (ii = myPoints->Lower() + 1 ; ii <= myPoints->Upper() ; ii++) { in PerformPeriodic() 661 myPoints->Value(1)) ; in PerformPeriodic() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/GeomAPI/ |
H A D | GeomAPI_Interpolate.cxx | 318 myPoints(PointsPtr), in GeomAPI_Interpolate() 329 myPoints->Upper()) ; in GeomAPI_Interpolate() 332 myPoints->Upper()) ; in GeomAPI_Interpolate() 341 for (ii = myPoints->Lower() ; ii <= myPoints->Upper() ; ii++) { in GeomAPI_Interpolate() 360 myPoints(PointsPtr), in GeomAPI_Interpolate() 380 myPoints->Upper()) ; in GeomAPI_Interpolate() 383 myPoints->Upper()) ; in GeomAPI_Interpolate() 395 for (ii = myPoints->Lower() ; ii <= myPoints->Upper() ; ii++) { in GeomAPI_Interpolate() 634 for (ii = myPoints->Lower() + 1 ; ii <= myPoints->Upper() ; ii++) { in PerformPeriodic() 662 myPoints->Value(1)) ; in PerformPeriodic() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/CPnts/ |
H A D | CPnts_UniformDeflection.cxx | 109 P = myPoints[myNbPoints] ; in Perform() 140 V1= gp_Vec(myPoints[myNbPoints], P); in Perform() 143 V2 = gp_Vec(myPoints[myNbPoints], P1); in Perform() 169 D03d(myCurve, myParams[0], myPoints[0]); in Perform() 170 D03d(myCurve, myParams[1], myPoints[1]); in Perform() 173 D02d(myCurve, myParams[0], myPoints[0]); in Perform() 184 P = myPoints[0] ; in Perform() 189 myPoints[1]= P1 ; in Perform() 203 myPoints[1] = P1 ; in Perform() 207 myPoints[1] = P2 ; in Perform() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/AppCont/ |
H A D | AppCont_LeastSquare.cxx | 182 (aTabP(j)).Coord(myPoints(i, i2), myPoints(i, i2+1), myPoints(i, i2+2)); in AppCont_LeastSquare() 187 (aTabP2d(j)).Coord(myPoints(i, i2), myPoints(i, i2+1)); in AppCont_LeastSquare() 197 Abs (myPoints(1, aDimIdx) - myPoints(2, aDimIdx)) > myPerInfo(aDimIdx).myPeriod / 2.01 && in AppCont_LeastSquare() 198 Abs (myPoints(2, aDimIdx) - myPoints(3, aDimIdx)) < myPerInfo(aDimIdx).myPeriod / 2.01) in AppCont_LeastSquare() 200 Standard_Real aPeriodMult = (myPoints(1, aDimIdx) < myPoints(2, aDimIdx)) ? 1.0 : -1.0; in AppCont_LeastSquare() 202 myPoints(1, aDimIdx) = aNewParam; in AppCont_LeastSquare() 210 …Abs ( myPoints(aPntIdx, aDimIdx) - myPoints(aPntIdx + 1, aDimIdx) ) > myPerInfo(aDimIdx).myPeriod … in AppCont_LeastSquare() 212 …Standard_Real aPeriodMult = (myPoints(aPntIdx, aDimIdx) > myPoints(aPntIdx + 1, aDimIdx)) ? 1.0 : … in AppCont_LeastSquare() 232 tmppoints(j) += myPoints(i, j)*Coeff; in AppCont_LeastSquare() 510 Standard_Integer ncol = myPoints.UpperCol() - myPoints.LowerCol() + 1; in Error() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/VrmlData/ |
H A D | VrmlData_TextureCoordinate.hxx | 34 : myPoints (0L), myLength (0) {} in VrmlData_TextureCoordinate() 44 myPoints (arrPoints), in VrmlData_TextureCoordinate() 64 inline const gp_XY * Points () { return myPoints; } in Points() 71 { myPoints = arrPoints; myLength = nPoints; } in SetPoints() 90 const gp_XY * myPoints; member in VrmlData_TextureCoordinate
|
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/tests/sys/ |
H A D | sys_solvers_BEM.cpp | 107 vector<Point> myPoints(1); in sys_solvers_BEM() local 108 myPoints[0]=Point(0.,0.,0.); in sys_solvers_BEM() 114 integralRepresentation(myPoints,test,solgmres,val); in sys_solvers_BEM() 117 integralRepresentation(myPoints,test,solbicg,val); in sys_solvers_BEM() 120 integralRepresentation(myPoints,test,solbicgs,val); in sys_solvers_BEM() 123 integralRepresentation(myPoints,test,solqmr,val); in sys_solvers_BEM() 126 integralRepresentation(myPoints,test,solcgs,val); in sys_solvers_BEM() 129 integralRepresentation(myPoints,test,solcg,val); in sys_solvers_BEM() 132 integralRepresentation(myPoints,test,sol,val); in sys_solvers_BEM()
|
/dports/cad/opencascade/opencascade-7.6.0/src/GCPnts/ |
H A D | GCPnts_TangentialDeflection.cxx | 315 myPoints .Append (P); in PerformLinear() 324 myPoints .Append (P); in PerformLinear() 330 myPoints .Append (P); in PerformLinear() 356 myPoints .Append (P); in PerformCircular() 362 myPoints .Append (P); in PerformCircular() 380 myPoints .Clear(); in initialize() 464 myPoints .Append (thePnt); in AddPoint() 532 myPoints .Append (CurrentPoint); in PerformCurve() 609 myPoints .Clear(); in PerformCurve() 850 i = myPoints.Length() - 1; in PerformCurve() [all …]
|