Home
last modified time | relevance | path

Searched refs:tangentVector (Results 1 – 25 of 31) sorted by relevance

12

/dports/editors/calligra/calligra-3.2.1/plugins/pathshapes/star/
H A DStarShape.cpp123 QPointF tangentVector = point - handle; in moveHandleAction() local
124 … qreal distance = sqrt(tangentVector.x()*tangentVector.x() + tangentVector.y()*tangentVector.y()); in moveHandleAction()
127 … qreal moveDirection = radialVector.x()*tangentVector.y() - radialVector.y()*tangentVector.x(); in moveHandleAction()
187 …QPointF tangentVector(cornerPoint.y()/m_radius[cornerType], -cornerPoint.x()/m_radius[cornerType]); in updatePath() local
188 … points[index]->setControlPoint2(points[index]->point() - m_roundness[cornerType] * tangentVector); in updatePath()
189 … points[index]->setControlPoint1(points[index]->point() + m_roundness[cornerType] * tangentVector); in updatePath()
/dports/graphics/krita/krita-4.4.8/plugins/flake/pathshapes/star/
H A DStarShape.cpp144 QPointF tangentVector = point - handle; in moveHandleAction() local
145 …qreal distance = sqrt(tangentVector.x() * tangentVector.x() + tangentVector.y() * tangentVector.y(… in moveHandleAction()
148 … qreal moveDirection = radialVector.x() * tangentVector.y() - radialVector.y() * tangentVector.x(); in moveHandleAction()
212 …QPointF tangentVector(cornerPoint.y() / m_radius[cornerType], -cornerPoint.x() / m_radius[cornerTy… in updatePath() local
213 … points[index]->setControlPoint2(points[index]->point() - m_roundness[cornerType] * tangentVector); in updatePath()
214 … points[index]->setControlPoint1(points[index]->point() + m_roundness[cornerType] * tangentVector); in updatePath()
/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/osgEarthSplat/
H A DGroundCover.GS.glsl279 vec3 tangentVector = gl_NormalMatrix * vec3(1,0,0); // vector pointing east-ish.
280 vec3 halfWidthTangentVector = cross(tangentVector, up_view) * 0.5 * width;
293 vp_Normal = normalize(cross(tangentVector, heightVector));
313 tangentVector = gl_NormalMatrix * vec3(0,1,0);
314 halfWidthTangentVector = cross(tangentVector, up_view) * 0.5 * width;
319 vec3 tangentVector = normalize(cross(center_view.xyz, up_view));
320 vec3 halfWidthTangentVector = tangentVector * 0.5 * width;
339 vec3 faceNormalVector = normalize(cross(tangentVector, heightVector));
349 vec3 Lnormal = mix(-tangentVector, faceNormalVector, blend);
350 vec3 Rnormal = mix( tangentVector, faceNormalVector, blend);
/dports/games/ufoai/ufoai-2.5-source/src/client/cgame/campaign/
H A Dcp_geoscape.cpp815 vec3_t start3D, end3D, tangentVector, v, rotationAxis; in GEO_AngleOfPath2D() local
823 CrossProduct(ortVector, start3D, tangentVector); in GEO_AngleOfPath2D()
826 CrossProduct(v, start3D, tangentVector); in GEO_AngleOfPath2D()
828 VectorNormalize(tangentVector); in GEO_AngleOfPath2D()
832 VectorSubtract(tangentVector, direction, v); in GEO_AngleOfPath2D()
835 CrossProduct(direction, tangentVector, rotationAxis); in GEO_AngleOfPath2D()
838 VectorSubtract(tangentVector, direction, v); in GEO_AngleOfPath2D()
840 VectorCopy(direction, tangentVector); in GEO_AngleOfPath2D()
842 VectorCopy(tangentVector, direction); in GEO_AngleOfPath2D()
852 float angle = todeg * atan(tangentVector[0] / tangentVector[1]); in GEO_AngleOfPath2D()
[all …]
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/finiteElements/point/
H A DGeomRefPoint.hpp47 …void tangentVector(const std::vector<real_t>& jacobianMatrix, std::vector<std::vector<real_t> >& t… in tangentVector() function in xlifepp::GeomRefPoint
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/finiteElements/quadrangle/
H A DGeomRefQuadrangle.hpp70 …void tangentVector(const std::vector<real_t>& jacobianMatrix, std::vector< std::vector<real_t> >& …
H A DGeomRefQuadrangle.cpp143 void GeomRefQuadrangle::tangentVector(const std::vector<real_t>& jacobianMatrix, std::vector <std::… in tangentVector() function in xlifepp::GeomRefQuadrangle
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/finiteElements/prism/
H A DGeomRefPrism.hpp76 …void tangentVector(const std::vector<real_t>& jacobianMatrix, std::vector<std::vector<real_t> >& t…
H A DGeomRefPrism.cpp262 void GeomRefPrism::tangentVector(const std::vector<real_t>& jacobianMatrix, std::vector <std::vecto… in tangentVector() function in xlifepp::GeomRefPrism
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/finiteElements/hexahedron/
H A DGeomRefHexahedron.hpp93 …void tangentVector(const std::vector<real_t>& jacobianMatrix, std::vector< std::vector<real_t> >& …
H A DGeomRefHexahedron.cpp278 void GeomRefHexahedron::tangentVector(const std::vector<real_t>& jacobianMatrix, std::vector <std::… in tangentVector() function in xlifepp::GeomRefHexahedron
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/finiteElements/pyramid/
H A DGeomRefPyramid.hpp82 …void tangentVector(const std::vector<real_t>& jacobianMatrix, std::vector<std::vector<real_t> >& t…
H A DGeomRefPyramid.cpp253 void GeomRefPyramid::tangentVector(const std::vector<real_t>& jacobianMatrix, std::vector <std::vec… in tangentVector() function in xlifepp::GeomRefPyramid
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/finiteElements/tetrahedron/
H A DGeomRefTetrahedron.hpp93 …void tangentVector(const std::vector<real_t>& jacobianMatrix, std::vector< std::vector<real_t> >& …
H A DGeomRefTetrahedron.cpp206 void GeomRefTetrahedron::tangentVector(const std::vector<real_t>& jacobianMatrix, std::vector<std::… in tangentVector() function in xlifepp::GeomRefTetrahedron
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/finiteElements/triangle/
H A DGeomRefTriangle.hpp63 …void tangentVector(const std::vector<real_t>& jacobianMatrix, std::vector< std::vector<real_t> >& …
H A DGeomRefTriangle.cpp140 void GeomRefTriangle::tangentVector(const std::vector<real_t>& jacobianMatrix, std::vector<std::vec… in tangentVector() function in xlifepp::GeomRefTriangle
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/finiteElements/segment/
H A DGeomRefSegment.hpp53 …void tangentVector(const std::vector<real_t>& jacobianMatrix, std::vector<std::vector<real_t> >& t… in tangentVector() function in xlifepp::GeomRefSegment
/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/core/symbols/
H A Dline_symbol.cpp806 orientation = split.tangentVector().angle(); in processContinuousLine()
1102 orientation = next_split.tangentVector().angle(); in createDashGroups()
1119 orientation = next_split.tangentVector().angle(); in createDashGroups()
1185 orientation = split.tangentVector().angle(); in createDashGroups()
1243 orientation = split.tangentVector().angle(); in createDashGroups()
1262 orientation = next_split.tangentVector().angle(); in createDashGroups()
1336 orientation = start.tangentVector().angle(); in createMidSymbolRenderables()
1369 orientation = groups_end.tangentVector().angle(); in createMidSymbolRenderables()
1397 orientation = split.tangentVector().angle(); in createMidSymbolRenderables()
1433 orientation = split.tangentVector().angle(); in createMidSymbolRenderables()
[all …]
/dports/math/octave-forge-matgeom/matgeom-1.2.3/inst/meshes3d/
H A DcurveToMesh.m92 tangentVector = normalizeVector3d(curve(iNext, :) - node); variable
95 [theta, phi, rho] = cart2sph2(tangentVector); %#ok<ASGLU>
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/geometry/
H A DGeomElement.hpp148 std::vector<real_t> tangentVector(number_t e) const; //!< return tangent vector on edge
274 …std::vector<real_t> tangentVector(number_t) const; //!< return tangent vector on an edge (n…
/dports/games/flightgear/flightgear-2020.3.11/src/Instrumentation/
H A Dnewnavradio.cxx643 static SGVec3d tangentVector(const SGGeod& midpoint, const double heading);
720 SGVec3d GS::tangentVector(const SGGeod& midpoint, const double heading) in tangentVector() function in Instrumentation::GS
749 _gsAxis = tangentVector(_navRecord->geod(), gs_radial); in search()
750 SGVec3d gsBaseline = tangentVector(_navRecord->geod(), gs_radial + 90.0); in search()
H A Dnavradio.cxx69 static SGVec3d tangentVector(const SGGeod& midpoint, const double heading) in tangentVector() function
947 _gsAxis = tangentVector(_gs->geod(), gs_radial); in updateNav()
951 _gsBaseline = tangentVector(_gs->geod(), gs_radial + 90.0); in updateNav()
/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/core/
H A Dpath_coord.h216 MapCoordF tangentVector() const;
/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/tools/
H A Ddistribute_points_tool.cpp112 auto right = split.tangentVector().perpRight(); in execute()

12