Searched refs:tanCAD (Results 1 – 4 of 4) sorted by relevance
425 const std::vector<SVector3> &tanCAD) in taylorDistanceSq1D() argument439 (dot(tanCAD[i], tanMesh) > 0) ? tanCAD[i] - tanMesh : tanCAD[i] + tanMesh; in taylorDistanceSq1D()480 std::vector<SVector3> tanCAD(nV); in taylorDistanceEdge() local484 tanCAD[i] = ge->firstDer(tCAD); in taylorDistanceEdge()485 tanCAD[i].normalize(); in taylorDistanceEdge()489 return sqrt(taylorDistanceSq1D(gb, nodesXYZ, tanCAD)); in taylorDistanceEdge()
597 std::vector<SVector3> tanCAD(nV); in scaledCADDistSqAndGradients() local615 tanCAD[i] = ge->firstDer(tCAD); // Compute tangent at vertex in scaledCADDistSqAndGradients()616 tanCAD[i].normalize(); // Normalize tangent in scaledCADDistSqAndGradients()618 scaledDist = _invRefCADDistSq * taylorDistanceSq1D(gb, nodesXYZ, tanCAD); in scaledCADDistSqAndGradients()625 tanCAD[i]; // Save tangent to CAD at perturbed node in scaledCADDistSqAndGradients()632 tanCAD[i] = ge->firstDer(tCAD); // New tangent to CAD at perturbed node in scaledCADDistSqAndGradients()633 tanCAD[i].normalize(); // Normalize new tangent in scaledCADDistSqAndGradients()637 tanCAD); // Compute distance with perturbed node in scaledCADDistSqAndGradients()642 tanCAD[i] = tanCADS; // Restore tan. to CAD at perturbed node in scaledCADDistSqAndGradients()
54 const std::vector<SVector3> &tanCAD);
755 std::vector<SVector3> tanCAD(nbVert); in calcCADDistSq2D() local772 tanCAD[iV] = ge->firstDer(tCAD); // Compute tangent at vertex in calcCADDistSq2D()773 tanCAD[iV].normalize(); // Normalize tangent in calcCADDistSq2D()775 return taylorDistanceSq1D(gb, nodesXYZ, tanCAD); in calcCADDistSq2D()