/dports/cad/opencascade/opencascade-7.6.0/src/MeshTest/ |
H A D | MeshTest_Debug.cxx | 54 const BRepMesh_Vertex& aV1 = aMeshData->GetNode(n1); in MeshTest_DrawLinks() local 56 Handle(Draw_Segment3D) aSeg = new Draw_Segment3D(gp_Pnt(aV1.Coord().X(), aV1.Coord().Y(), 0), in MeshTest_DrawLinks() 95 const BRepMesh_Vertex& aV1 = aMeshData->GetNode(n[0]); in MeshTest_DrawTriangles() local 98 gp_Pnt aP[4] = { gp_Pnt(aV1.Coord().X(), aV1.Coord().Y(), 0), in MeshTest_DrawTriangles() 101 gp_Pnt(aV1.Coord().X(), aV1.Coord().Y(), 0) }; in MeshTest_DrawTriangles()
|
/dports/cad/opencascade/opencascade-7.6.0/src/Geom2dAPI/ |
H A D | Geom2dAPI_InterCurveCurve.cxx | 186 Standard_Real aU1, aU2, aV1, aV2; in Segment() local 191 aV1 = aU1; in Segment() 196 aV1 = myCurve2->FirstParameter(); in Segment() 211 aV1 = anIPF.ParamOnSecond(); in Segment() 220 aV1 = anIPL.ParamOnSecond(); in Segment() 227 theCurve2 = new Geom2d_TrimmedCurve(myCurve1, aV1, aV2); in Segment() 229 theCurve2 = new Geom2d_TrimmedCurve(myCurve2, aV1, aV2); in Segment()
|
/dports/cad/opencascade/opencascade-7.6.0/samples/mfc/standard/07_Triangulation/src/ |
H A D | Tesselate_Presentation.cpp | 302 TopoDS_Vertex aV1,aV2; in tesselateShape() local 306 aV1 = TopoDS::Vertex(aVertices(n1)); in tesselateShape() 308 if(!aV1.IsNull() && !aV2.IsNull() && in tesselateShape() 309 !BRep_Tool::Pnt(aV1).IsEqual(BRep_Tool::Pnt(aV2),Precision::Confusion())) in tesselateShape() 311 TopoDS_Edge aEdge = BRepBuilderAPI_MakeEdge (aV1,aV2); in tesselateShape() 325 aV1 = TopoDS::Vertex(aVertices(n2)); in tesselateShape() 327 if(!aV1.IsNull() && !aV2.IsNull() && in tesselateShape() 330 TopoDS_Edge aEdge = BRepBuilderAPI_MakeEdge (aV1,aV2); in tesselateShape() 344 aV1 = TopoDS::Vertex(aVertices(n3)); in tesselateShape() 346 if(!aV1.IsNull() && !aV2.IsNull() && in tesselateShape() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/BinTools/ |
H A D | BinTools_IStream.cxx | 220 Standard_Real aV1[3], aV2[3], aV3[3], aV[3]; in operator >>() local 221 *this >> aV1[0] >> aV1[1] >> aV1[2] >> aV[0]; in operator >>() 224 theValue.SetValues (aV1[0], aV1[1], aV1[2], aV[0], in operator >>()
|
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Common/ |
H A D | Mtx.h | 79 inline static double Angle(const SimTK::Vec3& aV1, const SimTK::Vec3& aV2){ in Angle() argument 80 SimTK::Vec3 v1(aV1); v1.normalize(); in Angle() 121 inline static double DotProduct(int aN,const SimTK::Vec3& aV1,const SimTK::Vec3& aV2){ in DotProduct() argument 122 return ~aV1 * aV2; in DotProduct() 130 … inline static void CrossProduct(const SimTK::Vec3& aV1, const SimTK::Vec3& aV2, SimTK::Vec3& aV){ in CrossProduct() argument 131 aV = aV1 % aV2; in CrossProduct()
|
/dports/cad/opencascade/opencascade-7.6.0/src/StepGeom/ |
H A D | StepGeom_RectangularTrimmedSurface.cxx | 29 const Standard_Real aV1, in Init() argument 38 v1 = aV1; in Init() 77 void StepGeom_RectangularTrimmedSurface::SetV1(const Standard_Real aV1) in SetV1() argument 79 v1 = aV1; in SetV1()
|
/dports/cad/opencascade/opencascade-7.6.0/src/TopOpeBRepBuild/ |
H A D | TopOpeBRepBuild_Builder1_1.cxx | 834 const TopoDS_Vertex& aV1= TopoDS::Vertex(aPave1->Vertex()); in SplitEdge() local 847 Standard_Real tolV1 = BRep_Tool::Tolerance(aV1); in SplitEdge() 883 if (aV1.Orientation() != aV2.Orientation()) { in SplitEdge() 908 TopoDS_Shape aV1= aPave1->Vertex(); in SplitEdge() local 909 aV1.Orientation(TopAbs_FORWARD); in SplitEdge() 912 if (aVerOriMap.IsBound(aV1)) { in SplitEdge() 914 TColStd_ListOfInteger& anOriList = aVerOriMap(aV1); in SplitEdge() 950 aV1 = myDataStructure->Shape(iref); in SplitEdge() 951 aV1.Orientation(TopAbs_FORWARD); in SplitEdge() 964 myBuildTool.AddEdgeVertex (aNewEdge, aV1); in SplitEdge() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/DNaming/ |
H A D | DNaming_Line3DDriver.cxx | 228 TopoDS_Vertex aV, aV1, aV2; in LoadNamingDS() local 229 TopExp::Vertices(anE, aV1, aV2); in LoadNamingDS() 230 gp_Pnt aPE1 = BRep_Tool::Pnt(aV1); in LoadNamingDS() 249 TopoDS_Vertex aV, aV1, aV2; in LoadNamingDS() local 250 TopExp::Vertices(anE, aV1, aV2); in LoadNamingDS() 251 gp_Pnt aPE1 = BRep_Tool::Pnt(aV1); in LoadNamingDS() 258 aLast = aV1; in LoadNamingDS()
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/3d-viewer/3d_rendering/raytracing/shapes3D/ |
H A D | triangle_3d.h | 45 TRIANGLE( const SFVEC3F& aV1, const SFVEC3F& aV2, const SFVEC3F& aV3 ); 47 TRIANGLE( const SFVEC3F& aV1, const SFVEC3F& aV2, const SFVEC3F& aV3, 50 TRIANGLE( const SFVEC3F& aV1, const SFVEC3F& aV2, const SFVEC3F& aV3,
|
H A D | triangle_3d.cpp | 95 TRIANGLE::TRIANGLE( const SFVEC3F& aV1, const SFVEC3F& aV2, const SFVEC3F& aV3 ) in TRIANGLE() argument 98 m_vertex[0] = aV1; in TRIANGLE() 110 TRIANGLE::TRIANGLE( const SFVEC3F& aV1, const SFVEC3F& aV2, const SFVEC3F& aV3, in TRIANGLE() argument 114 m_vertex[0] = aV1; in TRIANGLE() 130 TRIANGLE::TRIANGLE( const SFVEC3F& aV1, const SFVEC3F& aV2, const SFVEC3F& aV3, in TRIANGLE() argument 134 m_vertex[0] = aV1; in TRIANGLE()
|
/dports/cad/opencascade/opencascade-7.6.0/src/BOPTools/ |
H A D | BOPTools_AlgoTools_2.cxx | 111 const TopoDS_Vertex& aV1, in MakeSectEdge() argument 119 BRepBuilderAPI_MakeEdge aMakeEdge(aC, aV1, aV2, aP1, aP2); in MakeSectEdge() 150 const TopoDS_Vertex& aV1, in MakeSplitEdge() argument 160 if (!aV1.IsNull()) { in MakeSplitEdge() 162 BB.Add (E, TopoDS::Vertex(aV1.Oriented(TopAbs_FORWARD))); in MakeSplitEdge() 165 BB.Add (E, TopoDS::Vertex(aV1.Oriented(TopAbs_REVERSED))); in MakeSplitEdge() 192 void BOPTools_AlgoTools::MakeNewVertex(const TopoDS_Vertex& aV1, in MakeNewVertex() argument 196 gp_Pnt aPnt1=BRep_Tool::Pnt(aV1); in MakeNewVertex() 197 Standard_Real aTol1=BRep_Tool::Tolerance(aV1); in MakeNewVertex()
|
/dports/cad/opencascade/opencascade-7.6.0/src/IntSurf/ |
H A D | IntSurf_PntOn2S.cxx | 90 Standard_Real aU1 = 0.0, aV1 = 0.0, aU2 = 0.0, aV2 = 0.0; in IsSame() local 91 theOterPoint.Parameters(aU1, aV1, aU2, aV2); in IsSame() 93 gp_Pnt2d aP1(u1, v1), aP2(aU1, aV1); in IsSame()
|
/dports/cad/opencascade/opencascade-7.6.0/src/RWStepGeom/ |
H A D | RWStepGeom_RWRectangularTrimmedSurface.cxx | 63 Standard_Real aV1; in ReadStep() local 65 data->ReadReal (num,5,"v1",ach,aV1); in ReadStep() 88 ent->Init(aName, aBasisSurface, aU1, aU2, aV1, aV2, aUsense, aVsense); in ReadStep()
|
/dports/cad/opencascade/opencascade-7.6.0/src/IntPatch/ |
H A D | IntPatch_WLineTool.cxx | 317 Standard_Real aU1, aU2, aV1, aV2; in DeleteOuterPoints() local 319 MovePoint(theS1, aU1, aV1); in DeleteOuterPoints() 321 aVertex.SetParameters(aU1, aV1, aU2, aV2); in DeleteOuterPoints() 332 Standard_Real aU1, aU2, aV1, aV2; in DeleteOuterPoints() local 334 MovePoint(theS1, aU1, aV1); in DeleteOuterPoints() 765 const gp_Pnt aP1(theS1->Value(aU1, aV1)); in IsIntersectionPoint() 779 theAddedPt.Parameters(aU1, aV1, aU2, aV2); in ExtendFirst() 823 theAddedPt.Parameters(aU1, aV1, aU2, aV2); in ExtendLast() 841 aVert.SetParameters(aU1, aV1, aU2, aV2); in ExtendLast() 861 thePOn2S.Parameters(aU1, aV1, aU2, aV2); in IsOutOfDomain() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/gp/ |
H A D | gp_Trsf.cxx | 874 gp_XYZ aV1 = aTM.Column(1); in Orthogonalize() local 878 aV1.Normalize(); in Orthogonalize() 880 aV2 -= aV1*(aV2.Dot(aV1)); in Orthogonalize() 883 aV3 -= aV1*(aV3.Dot(aV1)) + aV2*(aV3.Dot(aV2)); in Orthogonalize() 886 aTM.SetCols(aV1, aV2, aV3); in Orthogonalize() 888 aV1 = aTM.Row(1); in Orthogonalize() 892 aV1.Normalize(); in Orthogonalize() 894 aV2 -= aV1*(aV2.Dot(aV1)); in Orthogonalize() 897 aV3 -= aV1*(aV3.Dot(aV1)) + aV2*(aV3.Dot(aV2)); in Orthogonalize() 900 aTM.SetRows(aV1, aV2, aV3); in Orthogonalize()
|
H A D | gp_Hypr.hxx | 346 gp_Vec aV1 = gp_Vec (pos.YDirection()); in Asymptote1() local 347 aV1.Multiply (minorRadius / majorRadius); in Asymptote1() 349 aV.Add (aV1); in Asymptote1() 361 gp_Vec aV1 = gp_Vec (pos.YDirection()); in Asymptote2() local 362 aV1.Multiply (-minorRadius / majorRadius); in Asymptote2() 364 aV.Add (aV1); in Asymptote2()
|
H A D | gp_Trsf2d.cxx | 565 gp_XY aV1 = aTM.Column(1); in Orthogonalize() local 568 aV1.Normalize(); in Orthogonalize() 570 aV2 -= aV1*(aV2.Dot(aV1)); in Orthogonalize() 573 aTM.SetCols(aV1, aV2); in Orthogonalize() 575 aV1 = aTM.Row(1); in Orthogonalize() 578 aV1.Normalize(); in Orthogonalize() 580 aV2 -= aV1*(aV2.Dot(aV1)); in Orthogonalize() 583 aTM.SetRows(aV1, aV2); in Orthogonalize()
|
/dports/cad/opencascade/opencascade-7.6.0/inc/ |
H A D | gp_Hypr.hxx | 346 gp_Vec aV1 = gp_Vec (pos.YDirection()); in Asymptote1() local 347 aV1.Multiply (minorRadius / majorRadius); in Asymptote1() 349 aV.Add (aV1); in Asymptote1() 361 gp_Vec aV1 = gp_Vec (pos.YDirection()); in Asymptote2() local 362 aV1.Multiply (-minorRadius / majorRadius); in Asymptote2() 364 aV.Add (aV1); in Asymptote2()
|
/dports/cad/opencascade/opencascade-7.6.0/src/BRepClass/ |
H A D | BRepClass_FaceClassifier.cxx | 102 Standard_Real aU1, aU2, aV1, aV2, aMaxDist, aD; in Perform() local 110 BRepTools::UVBounds(theF, aU1, aU2, aV1, aV2); in Perform() 111 aExtrema.Initialize(aSurf, aU1, aU2, aV1, aV2, theTol, theTol); in Perform()
|
/dports/cad/opencascade/opencascade-7.6.0/src/BOPAlgo/ |
H A D | BOPAlgo_PaveFiller_8.cxx | 50 const TopoDS_Vertex& aV1, 197 TopoDS_Vertex aV1, aV2; in MakeSplitEdge() local 222 aV1=(*(TopoDS_Vertex *)(&myDS->Shape(nV1))); in MakeSplitEdge() 223 aV1.Orientation(TopAbs_FORWARD); in MakeSplitEdge() 228 MakeSplitEdge1(aDE, aDF, aV1, aT1, aV2, aT2, aSp); in MakeSplitEdge() 352 const TopoDS_Vertex& aV1, in MakeSplitEdge1() argument 364 BB.Add (E, aV1); in MakeSplitEdge1()
|
H A D | BOPAlgo_PaveFiller_7.cxx | 93 const TopoDS_Vertex& aV1, in SetData() argument 98 myV1=aV1; in SetData() 220 const TopoDS_Vertex& aV1, in SetData() argument 225 myV1=aV1; in SetData() 410 TopoDS_Vertex aV1, aV2; in MakeSplitEdges() local 498 aV1 = (*(TopoDS_Vertex *)(&myDS->Shape(nV1))); in MakeSplitEdges() 499 aV1.Orientation(TopAbs_FORWARD); in MakeSplitEdges() 506 aBSE.SetData(aE, aV1, aT1, aV2, aT2); in MakeSplitEdges() 574 TopoDS_Vertex aV1, aV2; in SplitEdge() local 583 aV1=(*(TopoDS_Vertex *)(&myDS->Shape(nV1))); in SplitEdge() [all …]
|
H A D | BOPAlgo_PaveFiller_1.cxx | 91 const TopoDS_Vertex& aV1=(*(TopoDS_Vertex *)(&myDS->Shape(n1SD))); in PerformVV() local 94 iFlag = BOPTools_AlgoTools::ComputeVV(aV1, aV2, myFuzzyValue); in PerformVV() 192 const TopoDS_Shape& aV1 = myDS->Shape(n1); in MakeSDVertices() local 205 BRep_Builder().Add(aWC, aV1); in MakeSDVertices()
|
/dports/devel/py-cadquery-pywrap/pywrap-e8c7bc9/opencascade/ |
H A D | V3d_Viewer.hxx | 467 Standard_Real aV1 = theV1; in SetDefaultBackgroundColor() local 470 if (aV1 < 0.0) aV1 = 0.0; else if (aV1 > 1.0) aV1 = 1.0; in SetDefaultBackgroundColor() 473 SetDefaultBackgroundColor (Quantity_Color (aV1, aV2, aV3, theType)); in SetDefaultBackgroundColor()
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/3d-viewer/3d_rendering/raytracing/shapes2D/ |
H A D | triangle_2d.cpp | 36 TRIANGLE_2D::TRIANGLE_2D( const SFVEC2F& aV1, const SFVEC2F& aV2, const SFVEC2F& aV3, in TRIANGLE_2D() argument 40 p1 = aV1; in TRIANGLE_2D() 53 m_bbox.Union( aV1 ); in TRIANGLE_2D()
|
/dports/cad/opencascade/opencascade-7.6.0/src/Geom2d/ |
H A D | Geom2d_BSplineCurve_1.cxx | 94 gp_Vec2d aV1, aV2; in IsG1() local 95 LocalD1(aTpar, aNKnot-1, aNKnot, aP1, aV1); in IsG1() 98 if((aV1.SquareMagnitude() <= gp::Resolution()) || in IsG1() 104 if(Abs(aV1.Angle(aV2)) > theAngTol) in IsG1() 126 gp_Vec2d aV1, aV2; in IsG1() local 127 D1(Knot(FirstUKnotIndex()), aP, aV1); in IsG1() 130 if((aV1.SquareMagnitude() <= gp::Resolution()) || in IsG1() 136 if(Abs(aV1.Angle(aV2)) > theAngTol) in IsG1()
|