Home
last modified time | relevance | path

Searched refs:tmpCenter (Results 1 – 4 of 4) sorted by relevance

/dports/science/py-avogadrolibs/avogadrolibs-1.94.0/avogadro/rendering/
H A Dgeometryvisitor.cpp47 Vector3f tmpCenter(Vector3f::Zero()); in visit() local
51 tmpCenter += it->center; in visit()
52 tmpCenter /= static_cast<float>(spheres.size()); in visit()
64 m_centers.push_back(tmpCenter); in visit()
76 Vector3f tmpCenter(Vector3f::Zero()); in visit() local
80 tmpCenter += it->center; in visit()
93 m_centers.push_back(tmpCenter); in visit()
106 Vector3f tmpCenter(Vector3f::Zero()); in visit() local
109 tmpCenter += it->vertex; in visit()
111 tmpCenter /= static_cast<float>(verts.size()); in visit()
[all …]
/dports/science/avogadrolibs/avogadrolibs-1.94.0/avogadro/rendering/
H A Dgeometryvisitor.cpp47 Vector3f tmpCenter(Vector3f::Zero()); in visit() local
51 tmpCenter += it->center; in visit()
52 tmpCenter /= static_cast<float>(spheres.size()); in visit()
64 m_centers.push_back(tmpCenter); in visit()
76 Vector3f tmpCenter(Vector3f::Zero()); in visit() local
80 tmpCenter += it->center; in visit()
93 m_centers.push_back(tmpCenter); in visit()
106 Vector3f tmpCenter(Vector3f::Zero()); in visit() local
109 tmpCenter += it->vertex; in visit()
111 tmpCenter /= static_cast<float>(verts.size()); in visit()
[all …]
/dports/games/jvgs/jvgs-0.5.1-src/src/math/
H A DEllipticalArc.cpp37 Vector2D tmpCenter = Vector2D( in EllipticalArc() local
41 center = rotate * tmpCenter + (start + end) / 2.0f; in EllipticalArc()
44 (tmp1.getX() - tmpCenter.getX()) / radius.getX(), in EllipticalArc()
45 (tmp1.getY() - tmpCenter.getY()) / radius.getY())); in EllipticalArc()
47 (tmp1.getX() - tmpCenter.getX()) / radius.getX(), in EllipticalArc()
48 (tmp1.getY() - tmpCenter.getY()) / radius.getY()).getAngle( in EllipticalArc()
49 Vector2D((-tmp1.getX() - tmpCenter.getX()) / radius.getX(), in EllipticalArc()
50 (-tmp1.getY() - tmpCenter.getY()) / radius.getY())); in EllipticalArc()
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vtools/tools/
H A Dvtooluniondetails.cpp531 VPointF *tmpCenter = center.take(); in AddNodeArc() local
532 const quint32 idCenter = initData.data->AddGObject(tmpCenter); in AddNodeArc()
534 …QScopedPointer<VArc> arc1(new VArc(*tmpCenter, arc->GetRadius(), arc->GetFormulaRadius(), l1.angle… in AddNodeArc()
583 VPointF *tmpCenter = center.take(); in AddNodeElArc() local
584 quint32 idCenter = initData.data->AddGObject(tmpCenter); in AddNodeElArc()
586 …QScopedPointer<VEllipticalArc> arc1(new VEllipticalArc (*tmpCenter, arc->GetRadius1(), arc->GetRad… in AddNodeElArc()