/dports/math/jts/jts-jts-1.18.1/modules/app/src/main/java/org/locationtech/jtstest/testbuilder/geom/ |
H A D | GeometryVertexInserter.java | 23 Coordinate newVertex) in insert() argument 27 return editor.edit(geom, new InsertVertexOperation(line, segIndex, newVertex)); in insert() 35 private Coordinate newVertex; field in GeometryVertexInserter.InsertVertexOperation 37 public InsertVertexOperation(LineString line, int segIndex, Coordinate newVertex) in InsertVertexOperation() argument 41 this.newVertex = newVertex; in InsertVertexOperation() 54 newPts[segIndex + 1] = (Coordinate) newVertex.clone(); in edit()
|
/dports/games/tenebrae/tenebrae_0/ |
H A D | gl_decals.c | 43 int DecalClipPolygon(int vertexCount, vec3_t *vertices, vec3_t *newVertex); 296 vec3_t newVertex[64], t1, t2, t3; in DecalClipLeaf() local 316 newVertex[i][0] = v[0]; in DecalClipLeaf() 317 newVertex[i][1] = v[1]; in DecalClipLeaf() 318 newVertex[i][2] = v[2]; in DecalClipLeaf() 331 count = DecalClipPolygon(poly->numverts, newVertex, newVertex); in DecalClipLeaf() 408 VectorScale(v1,(1.0 - t),newVertex[count]); in DecalClipPolygonAgainstPlane() 409 VectorMA(newVertex[count],t,v2,newVertex[count]); in DecalClipPolygonAgainstPlane() 429 VectorScale(v1,(1.0 - t),newVertex[count]); in DecalClipPolygonAgainstPlane() 430 VectorMA(newVertex[count],t,v2,newVertex[count]); in DecalClipPolygonAgainstPlane() [all …]
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgUtil/ |
H A D | Tessellator.cpp | 134 NewVertex& newVertex = (*j); in reset() local 135 delete newVertex._vpos; in reset() 136 newVertex._vpos = NULL; in reset() 495 … if (newVertex._v1) norm += (*normals)[vertexPtrToIndexMap[newVertex._v1]] * newVertex._f1; in handleNewVertices() 496 … if (newVertex._v2) norm += (*normals)[vertexPtrToIndexMap[newVertex._v2]] * newVertex._f2; in handleNewVertices() 497 … if (newVertex._v3) norm += (*normals)[vertexPtrToIndexMap[newVertex._v3]] * newVertex._f3; in handleNewVertices() 498 … if (newVertex._v4) norm += (*normals)[vertexPtrToIndexMap[newVertex._v4]] * newVertex._f4; in handleNewVertices() 505 InsertNewVertices inv(newVertex._f1,vertexPtrToIndexMap[newVertex._v1], in handleNewVertices() 506 newVertex._f2,vertexPtrToIndexMap[newVertex._v2], in handleNewVertices() 507 newVertex._f3,vertexPtrToIndexMap[newVertex._v3], in handleNewVertices() [all …]
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgUtil/ |
H A D | Tessellator.cpp | 132 NewVertex& newVertex = (*j); in reset() local 133 delete newVertex._vpos; in reset() 134 newVertex._vpos = NULL; in reset() 492 … if (newVertex._v1) norm += (*normals)[vertexPtrToIndexMap[newVertex._v1]] * newVertex._f1; in handleNewVertices() 493 … if (newVertex._v2) norm += (*normals)[vertexPtrToIndexMap[newVertex._v2]] * newVertex._f2; in handleNewVertices() 494 … if (newVertex._v3) norm += (*normals)[vertexPtrToIndexMap[newVertex._v3]] * newVertex._f3; in handleNewVertices() 495 … if (newVertex._v4) norm += (*normals)[vertexPtrToIndexMap[newVertex._v4]] * newVertex._f4; in handleNewVertices() 502 InsertNewVertices inv(newVertex._f1,vertexPtrToIndexMap[newVertex._v1], in handleNewVertices() 503 newVertex._f2,vertexPtrToIndexMap[newVertex._v2], in handleNewVertices() 504 newVertex._f3,vertexPtrToIndexMap[newVertex._v3], in handleNewVertices() [all …]
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/common/gal/opengl/ |
H A D | vertex_manager.cpp | 101 VERTEX* newVertex; in Vertex() local 105 newVertex = m_reserved++; in Vertex() 113 newVertex = m_container->Allocate( 1 ); in Vertex() 116 if( newVertex == nullptr ) in Vertex() 127 putVertex( *newVertex, aX, aY, aZ ); in Vertex() 139 VERTEX* newVertex = m_container->Allocate( aSize ); in Vertices() local 141 if( newVertex == nullptr ) in Vertices() 155 putVertex( newVertex[i], aVertices[i].x, aVertices[i].y, aVertices[i].z ); in Vertices()
|
/dports/graphics/quesa/quesa-1.8/Source/Core/Support/ |
H A D | E3Tessellate.c | 609 TQ3Vertex3D *newVertex; in e3tessellate_callback_combine() local 667 newVertex = (TQ3Vertex3D *) Q3Memory_Allocate(sizeof(TQ3Vertex3D)); in e3tessellate_callback_combine() 668 if (newVertex == NULL) in e3tessellate_callback_combine() 678 Q3Memory_Free(&newVertex); in e3tessellate_callback_combine() 682 theState->tempVertexList[theState->numTempVertices] = newVertex; in e3tessellate_callback_combine() 688 newVertex->point = combinedPoint; in e3tessellate_callback_combine() 691 if (newVertex->attributeSet != NULL) in e3tessellate_callback_combine() 693 e3tessellate_attribute_set(newVertex, &combinedState, kQ3AttributeTypeSurfaceUV); in e3tessellate_callback_combine() 694 e3tessellate_attribute_set(newVertex, &combinedState, kQ3AttributeTypeShadingUV); in e3tessellate_callback_combine() 695 e3tessellate_attribute_set(newVertex, &combinedState, kQ3AttributeTypeNormal); in e3tessellate_callback_combine() [all …]
|
/dports/math/gismo/gismo-21.12.0/src/gsHSplines/ |
H A D | gsAAPolyline.h | 235 std::vector< T > newVertex (2); in pushBack() 237 newVertex[0] = x; in pushBack() 238 newVertex[1] = y0; in pushBack() 239 m_vertices.push_back( newVertex ); in pushBack() 242 m_vertices.push_back( newVertex ); in pushBack() 262 std::vector< T > newVertex (2); in pushFront() 264 newVertex[0] = x; in pushFront() 265 newVertex[1] = y0; in pushFront() 266 m_vertices.push_front( newVertex ); in pushFront() 268 newVertex[1] = y1; in pushFront() [all …]
|
/dports/graphics/wdune/wdune-1.926/src/ |
H A D | NodeIndexedFaceSet.cpp | 1771 Vec3f vec(newVertex.x, newVertex.y, newVertex.z); in storeVertex() 2216 Vec3f vec(newVertex.x, newVertex.y, newVertex.z); in storeVertexMid() 2601 Vec3f newVertex = mid + in insetFaces() local 2605 newVertex.x *= lenX.x; in insetFaces() 2606 newVertex.y *= lenY.y; in insetFaces() 2619 newVertex.x -= xoffset + in insetFaces() 2822 newVertex = startVertex; in insetFaces() 2830 newVertex = startVertex; in insetFaces() 2838 newVertex = startVertex; in insetFaces() 2935 newVertex = startVertex; in insetFaces() [all …]
|
/dports/graphics/libQGLViewer/libQGLViewer-2.7.2/QGLViewer/VRender/ |
H A D | BSPSortMethod.cpp | 236 Feedback3DColor newVertex((1-t)*S->sommet3DColor(0) + t*S->sommet3DColor(1)); in Classify() local 240 plus_ = new Segment(S->sommet3DColor(0), newVertex); in Classify() 241 moins_ = new Segment(newVertex, S->sommet3DColor(1)); in Classify() 245 plus_ = new Segment(newVertex, S->sommet3DColor(1)); in Classify() 246 moins_ = new Segment(S->sommet3DColor(0), newVertex); in Classify() 445 Feedback3DColor newVertex((1-t)*P->sommet3DColor(k+dep-1) + t*P->sommet3DColor(k+dep)); in Classify() local 447 Ps.push_back(newVertex); in Classify() 448 Ms.push_back(newVertex); in Classify() 460 Feedback3DColor newVertex = P->sommet3DColor(k+dep); in Classify() local 462 Ps.push_back(newVertex); in Classify() [all …]
|
H A D | PrimitivePositioning.cpp | 537 Feedback3DColor newVertex((1-t)*P->sommet3DColor(j+dep-1) + t*P->sommet3DColor(j+dep)) ; in split() local 539 Ps.push_back(newVertex) ; in split() 540 Ms.push_back(newVertex) ; in split() 552 Feedback3DColor newVertex = P->sommet3DColor(j+dep) ; in split() local 554 Ps.push_back(newVertex) ; in split() 555 Ms.push_back(newVertex) ; in split() 648 Feedback3DColor newVertex = S->sommet3DColor(0) * (1-t) + S->sommet3DColor(1) * t ; in split() local 652 P_plus = new Segment(newVertex,S->sommet3DColor(1)) ; in split() 653 P_moins = new Segment(S->sommet3DColor(0),newVertex) ; in split() 657 P_plus = new Segment(S->sommet3DColor(0),newVertex) ; in split() [all …]
|
/dports/math/octomap/octomap-1.9.7/octovis/src/extern/QGLViewer/VRender/ |
H A D | BSPSortMethod.cpp | 236 Feedback3DColor newVertex((1-t)*S->sommet3DColor(0) + t*S->sommet3DColor(1)); in Classify() local 240 plus_ = new Segment(S->sommet3DColor(0), newVertex); in Classify() 241 moins_ = new Segment(newVertex, S->sommet3DColor(1)); in Classify() 245 plus_ = new Segment(newVertex, S->sommet3DColor(1)); in Classify() 246 moins_ = new Segment(S->sommet3DColor(0), newVertex); in Classify() 445 Feedback3DColor newVertex((1-t)*P->sommet3DColor(k+dep-1) + t*P->sommet3DColor(k+dep)); in Classify() local 447 Ps.push_back(newVertex); in Classify() 448 Ms.push_back(newVertex); in Classify() 460 Feedback3DColor newVertex = P->sommet3DColor(k+dep); in Classify() local 462 Ps.push_back(newVertex); in Classify() [all …]
|
H A D | PrimitivePositioning.cpp | 537 Feedback3DColor newVertex((1-t)*P->sommet3DColor(j+dep-1) + t*P->sommet3DColor(j+dep)) ; in split() local 539 Ps.push_back(newVertex) ; in split() 540 Ms.push_back(newVertex) ; in split() 552 Feedback3DColor newVertex = P->sommet3DColor(j+dep) ; in split() local 554 Ps.push_back(newVertex) ; in split() 555 Ms.push_back(newVertex) ; in split() 648 Feedback3DColor newVertex = S->sommet3DColor(0) * (1-t) + S->sommet3DColor(1) * t ; in split() local 652 P_plus = new Segment(newVertex,S->sommet3DColor(1)) ; in split() 653 P_moins = new Segment(S->sommet3DColor(0),newVertex) ; in split() 657 P_plus = new Segment(S->sommet3DColor(0),newVertex) ; in split() [all …]
|
/dports/science/cdk/cdk-cdk-2.3/legacy/src/main/java/org/openscience/cdk/ringsearch/cyclebasis/ |
H A D | SimpleCycleBasis.java | 886 Object newVertex = vertex + "-00"; in auxVertex00() local 888 addVertex(newVertex); in auxVertex00() 890 return newVertex; in auxVertex00() 897 Object newVertex = vertex + "-01"; in auxVertex01() local 899 addVertex(newVertex); in auxVertex01() 901 return newVertex; in auxVertex01() 908 Object newVertex = vertex + "-10"; in auxVertex10() local 910 addVertex(newVertex); in auxVertex10() 912 return newVertex; in auxVertex10() 921 addVertex(newVertex); in auxVertex11() [all …]
|
/dports/science/gromacs/gromacs-2021.4/src/gromacs/math/tests/ |
H A D | neldermead.cpp | 132 RealFunctionvalueAtCoordinate newVertex = { { 0 }, 0 }; in TEST_F() local 133 simplex_.swapOutWorst(newVertex); in TEST_F() 138 newVertex = { { 3 }, 6 }; in TEST_F() 139 simplex_.swapOutWorst(newVertex); in TEST_F()
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/include/world/bsp/ |
H A D | linesegment.h | 550 void replaceVertex(int to, Vertex &newVertex); 552 inline void replaceFrom(Vertex &newVertex) { replaceVertex(From, newVertex); } in replaceFrom() argument 553 inline void replaceTo (Vertex &newVertex) { replaceVertex(To , newVertex); } in replaceTo() argument
|
/dports/math/sc-im/sc-im-0.8.2/src/ |
H A D | dep_graph.c | 132 newVertex->visited = 0; in GraphAddVertex() 133 newVertex->eval_visited = 0; in GraphAddVertex() 134 newVertex->ent = ent; in GraphAddVertex() 135 newVertex->edges = NULL; in GraphAddVertex() 136 newVertex->back_edges = NULL; in GraphAddVertex() 137 newVertex->next = NULL; in GraphAddVertex() 144 graph->vertices = newVertex; in GraphAddVertex() 149 graph->vertices = newVertex; in GraphAddVertex() 159 temp_ant->next = newVertex; in GraphAddVertex() 160 newVertex->next = tempNode; in GraphAddVertex() [all …]
|
/dports/math/dune-foamgrid/dune-foamgrid-43bfdb6181fae187fd803eca935a030d8d5ab0bc/dune/foamgrid/test/ |
H A D | growth-test-2d.cc | 37 auto newVertex = v0.geometry().center(); in checkGridElementGrowth() local 38 newVertex += v1.geometry().center(); newVertex /= 2.0; in checkGridElementGrowth() 39 newVertex[1] += 0.5; in checkGridElementGrowth() 42 auto vIdx = grid.insertVertex(newVertex); in checkGridElementGrowth()
|
/dports/math/dune-grid/dune-grid-de36e4b4e99da4cd7a120a39779345e701821115/dune/grid/onedgrid/ |
H A D | onedgridfactory.cc | 118 OneDEntityImp<0> newVertex(0, vtx.first, grid_->getNextFreeId()); in createGrid() local 120 newVertex.leafIndex_ = vtx.second; in createGrid() 121 newVertex.levelIndex_ = vtx.second; in createGrid() 123 grid_->vertices(0).push_back(newVertex); in createGrid()
|
/dports/games/openbve/OpenBVE-1.8.2.1/source/Plugins/Object.Wavefront/Parsers/ |
H A D | WavefrontObjParser.cs | 182 Vertex newVertex = new Vertex(); in ReadObject() 207 newVertex.Coordinates = tempVertices[currentVertex - 1]; in ReadObject() 220 newVertex.TextureCoordinates = new Vector2(); in ReadObject() 241 newVertex.TextureCoordinates = tempCoords[currentCoord - 1]; in ReadObject() 244 newVertex.TextureCoordinates.Y *= -1.0; in ReadObject() 288 vertices.Add(newVertex); in ReadObject()
|
/dports/games/opencity/opencity-0.0.6.5stable/src/model/ |
H A D | ac3dobject.cpp | 356 Vertex newVertex; in ac3dobjectParseVertex() local 361 sscanf( buffer, "%f %f %f", &newVertex.x, &newVertex.y, &newVertex.z ); in ac3dobjectParseVertex() 362 this->vVertex.push_back( newVertex ); in ac3dobjectParseVertex()
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libslic3r/ |
H A D | Tesselate.cpp | 106 …static void tessCombineCB(const GLdouble newVertex[3], const GLdouble *neighborVertex[4], const GL… in tessCombineCB() 107 …{ reinterpret_cast<GluTessWrapper*>(polygonData)->tessCombine(newVertex, neighborVertex, neighborW… in tessCombineCB() 159 …void tessCombine(const GLdouble newVertex[3], const GLdouble *neighborVertex[4], const GLfloat nei… in tessCombine() 161 m_intersection_points.emplace_back(newVertex[0], newVertex[1], m_z); in tessCombine()
|
/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Tools/Subdivider/Uniform/ |
H A D | LongestEdgeT.hh | 183 const typename MeshType::VertexHandle newVertex = _m.add_vertex(midpoint); in subdivide() local 184 _m.split(a.first,newVertex); in subdivide() 186 … for ( typename MeshType::VertexOHalfedgeIter voh_it(_m,newVertex); voh_it.is_valid(); ++voh_it) { in subdivide()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/ |
H A D | ComputeProjectOrderTest.java | 33 Object newVertex = new Object(); in testComputeVertexOrderDuration() local 34 digraph.addVertex(newVertex); in testComputeVertexOrderDuration() 35 existingVertexes.forEach(existingVertex -> digraph.addEdge(existingVertex, newVertex)); in testComputeVertexOrderDuration() 52 Object newVertex = new Object(); 53 digraph.addVertex(newVertex); 54 existingVertexes.forEach(existingVertex -> digraph.addEdge(existingVertex, newVertex));
|
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/lottie-ios/lottie-swift/src/Private/Utility/Primitives/ |
H A D | PathElement.swift | 44 func updateVertex(newVertex: CurveVertex) -> PathElement { in updateVertex() 45 return PathElement(length: length, vertex: newVertex) in updateVertex()
|
/dports/astro/kstars/kstars-3.5.6/kstars/libtess/src/ |
H A D | mesh.c | 112 static void MakeVertex(GLUvertex *newVertex, GLUhalfEdge *eOrig, GLUvertex *vNext) in MakeVertex() argument 116 GLUvertex *vNew = newVertex; in MakeVertex() 340 GLUvertex *newVertex = allocVertex(); in __gl_meshSplice() local 341 if (newVertex == NULL) in __gl_meshSplice() 347 MakeVertex(newVertex, eDst, eOrg->Org); in __gl_meshSplice() 460 GLUvertex *newVertex = allocVertex(); in __gl_meshAddEdgeVertex() local 461 if (newVertex == NULL) in __gl_meshAddEdgeVertex() 464 MakeVertex(newVertex, eNewSym, eNew->Org); in __gl_meshAddEdgeVertex()
|