Home
last modified time | relevance | path

Searched refs:p2_ (Results 1 – 25 of 648) sorted by relevance

12345678910>>...26

/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/apbs/externals/pb_s_am/pb_shared/src/
H A Dutil.h113 T r = sqrt(p1_*p1_ + p2_*p2_ + p3_*p3_); in convert_to_spherical()
129 p2_ = theta; in convert_to_spherical()
142 z = (abs(p1_*cos(p2_)) < 1e-15) ? 0 : p1_*cos(p2_); in convert_to_euclidean()
145 p2_ = y; in convert_to_euclidean()
170 p2_ = other.p2_;
207 pout.p2_ = p2_ * scalar;
226 p2_ += rhs.p2_;
236 pout.p2_ = p2_ + other.p2_;
246 pout.p2_ = p2_ - other.p2_;
314 return p2_; in y()
[all …]
/dports/misc/vxl/vxl-3.3.2/core/vgl/
H A Dvgl_conic_segment_2d.h109 vgl_homg_point_2d<Type> p2_; variable
124 : p1_(l.p1_), p2_(l.p2_), conic_(l.conic_), in vgl_conic_segment_2d()
132 : p1_(p1), p2_(p2), conic_(co), in p1_()
140 : p1_(p1.x(), p1.y(), (Type)1), p2_(p2.x(), p2.y(), (Type)1),
148 : p1_(p1), p2_(p2), conic_(co), in p1_()
156 : p1_(p1.x(), p1.y(), (Type)1), p2_(p2.x(), p2.y(), (Type)1),
170 void swap_endpoints() { vgl_homg_point_2d<Type> p=p1_; p1_=p2_; p2_=p; } in swap_endpoints()
222 { p1_ = p1; p2_ = p2; conic_ = co; counterclockwise_ = counterclockwise; }
228 { p1_ = p1; p2_ = p2; conic_ = co; counterclockwise_ = counterclockwise; }
233 { p1_.set(p1.x(), p1.y()); p2_.set(p2.x(), p2.y()); conic_ = co;
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/geometry/
H A Dfloat_quad.cc108 return (WithinEpsilon(p1_.X(), p2_.X()) && WithinEpsilon(p2_.Y(), p3_.Y()) && in IsRectilinear()
110 (WithinEpsilon(p1_.Y(), p2_.Y()) && WithinEpsilon(p2_.X(), p3_.X()) && in IsRectilinear()
115 return IsPointInTriangle(p, p1_, p2_, p3_) || in ContainsPoint()
160 v1 = p2_ - p1_; in IntersectsRect()
161 v2 = p3_ - p2_; in IntersectsRect()
166 v2 = p1_ - p2_; in IntersectsRect()
167 v3 = p2_ - p3_; in IntersectsRect()
176 if (Determinant(v2, p - p2_) < 0) in IntersectsRect()
226 LineIntersectsCircle(center, radius, p2_, p3_) || in IntersectsCircle()
248 return Determinant(p2_ - p1_, p3_ - p2_) < 0; in IsCounterclockwise()
[all …]
H A Dfloat_quad.h56 : p1_(p1), p2_(p2), p3_(p3), p4_(p4) {} in FloatQuad()
60 p2_(in_rect.MaxX(), in_rect.Y()), in FloatQuad()
66 p2_(in_rect.MaxX(), in_rect.Y()), in FloatQuad()
74 constexpr FloatPoint P2() const { return p2_; } in P2()
79 void SetP2(const FloatPoint& p) { p2_ = p; } in SetP2()
120 return FloatPoint((p1_.X() + p2_.X() + p3_.X() + p4_.X()) / 4.0, in Center()
121 (p1_.Y() + p2_.Y() + p3_.Y() + p4_.Y()) / 4.0); in Center()
131 p2_ += offset; in Move()
142 p2_.Move(dx, dy); in Move()
149 p2_.Scale(dx, dy); in Scale()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/geometry/
H A Dfloat_quad.cc108 return (WithinEpsilon(p1_.X(), p2_.X()) && WithinEpsilon(p2_.Y(), p3_.Y()) && in IsRectilinear()
110 (WithinEpsilon(p1_.Y(), p2_.Y()) && WithinEpsilon(p2_.X(), p3_.X()) && in IsRectilinear()
115 return IsPointInTriangle(p, p1_, p2_, p3_) || in ContainsPoint()
160 v1 = p2_ - p1_; in IntersectsRect()
161 v2 = p3_ - p2_; in IntersectsRect()
166 v2 = p1_ - p2_; in IntersectsRect()
167 v3 = p2_ - p3_; in IntersectsRect()
176 if (Determinant(v2, p - p2_) < 0) in IntersectsRect()
226 LineIntersectsCircle(center, radius, p2_, p3_) || in IntersectsCircle()
248 return Determinant(p2_ - p1_, p3_ - p2_) < 0; in IsCounterclockwise()
[all …]
H A Dfloat_quad.h56 : p1_(p1), p2_(p2), p3_(p3), p4_(p4) {} in FloatQuad()
60 p2_(in_rect.MaxX(), in_rect.Y()), in FloatQuad()
66 p2_(in_rect.MaxX(), in_rect.Y()), in FloatQuad()
74 constexpr FloatPoint P2() const { return p2_; } in P2()
79 void SetP2(const FloatPoint& p) { p2_ = p; } in SetP2()
120 return FloatPoint((p1_.X() + p2_.X() + p3_.X() + p4_.X()) / 4.0, in Center()
121 (p1_.Y() + p2_.Y() + p3_.Y() + p4_.Y()) / 4.0); in Center()
131 p2_ += offset; in Move()
142 p2_.Move(dx, dy); in Move()
149 p2_.Scale(dx, dy); in Scale()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/gfx/geometry/
H A Dquad_f.cc15 p2_ = PointF(rect.right(), rect.y()); in operator =()
23 p2_.ToString().c_str(), in ToString()
34 (WithinEpsilon(p1_.x(), p2_.x()) && WithinEpsilon(p2_.y(), p3_.y()) && in IsRectilinear()
36 (WithinEpsilon(p1_.y(), p2_.y()) && WithinEpsilon(p2_.x(), p3_.x()) && in IsRectilinear()
53 float p24 = p2_.y() - p4_.y(); in IsCounterClockwise()
58 double element2 = static_cast<double>(p2_.x()) * p31; in IsCounterClockwise()
97 return PointIsInTriangle(point, p1_, p2_, p3_) in Contains()
103 p2_.Scale(x_scale, y_scale); in Scale()
110 p2_ += rhs; in operator +=()
117 p2_ -= rhs; in operator -=()
H A Dquad_f.h31 : p1_(p1), p2_(p2), p3_(p3), p4_(p4) {} in QuadF()
35 p2_(rect.right(), rect.y()), in QuadF()
42 void set_p2(const PointF& p) { p2_ = p; } in set_p2()
47 constexpr const PointF& p2() const { return p2_; } in p2()
66 float rl = std::min({p1_.x(), p2_.x(), p3_.x(), p4_.x()}); in BoundingBox()
67 float rr = std::max({p1_.x(), p2_.x(), p3_.x(), p4_.x()}); in BoundingBox()
68 float rt = std::min({p1_.y(), p2_.y(), p3_.y(), p4_.y()}); in BoundingBox()
69 float rb = std::max({p1_.y(), p2_.y(), p3_.y(), p4_.y()}); in BoundingBox()
78 p1_ = p2_; in Realign()
79 p2_ = p3_; in Realign()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/gfx/geometry/
H A Dquad_f.cc15 p2_ = PointF(rect.right(), rect.y()); in operator =()
23 p2_.ToString().c_str(), in ToString()
34 (WithinEpsilon(p1_.x(), p2_.x()) && WithinEpsilon(p2_.y(), p3_.y()) && in IsRectilinear()
36 (WithinEpsilon(p1_.y(), p2_.y()) && WithinEpsilon(p2_.x(), p3_.x()) && in IsRectilinear()
53 float p24 = p2_.y() - p4_.y(); in IsCounterClockwise()
58 double element2 = static_cast<double>(p2_.x()) * p31; in IsCounterClockwise()
97 return PointIsInTriangle(point, p1_, p2_, p3_) in Contains()
103 p2_.Scale(x_scale, y_scale); in Scale()
110 p2_ += rhs; in operator +=()
117 p2_ -= rhs; in operator -=()
H A Dquad_f.h31 : p1_(p1), p2_(p2), p3_(p3), p4_(p4) {} in QuadF()
35 p2_(rect.right(), rect.y()), in QuadF()
42 void set_p2(const PointF& p) { p2_ = p; } in set_p2()
47 constexpr const PointF& p2() const { return p2_; } in p2()
66 float rl = std::min({p1_.x(), p2_.x(), p3_.x(), p4_.x()}); in BoundingBox()
67 float rr = std::max({p1_.x(), p2_.x(), p3_.x(), p4_.x()}); in BoundingBox()
68 float rt = std::min({p1_.y(), p2_.y(), p3_.y(), p4_.y()}); in BoundingBox()
69 float rb = std::max({p1_.y(), p2_.y(), p3_.y(), p4_.y()}); in BoundingBox()
78 p1_ = p2_; in Realign()
79 p2_ = p3_; in Realign()
[all …]
/dports/biology/diamond/diamond-2.0.13/src/lib/alp/
H A Dnjn_localmaxstatmatrix.cpp76 const double *p2_, // probability of "letters" p2_ [0...dimMatrix_), the second (j) set of letter-p… in copy() argument
79 if (! p2_) p2_ = p_; in copy()
103 memcpy (d_p2_p, p2_, sizeof (double) * getDimMatrix2 ()); in copy()
115 probMatrix [i][j] = p_ [i] * p2_ [j]; in copy()
132 const double *p2_, // probability of "letters" p2_ [0...dimMatrix_), the second (j) set of letter-p… in copy() argument
135 if (! p2_) p2_ = p_; in copy()
153 memcpy (d_p2_p, p2_, sizeof (double) * getDimMatrix2 ()); in copy()
/dports/biology/mmseqs2/MMseqs2-13-45111/lib/alp/
H A Dnjn_localmaxstatmatrix.cpp76 const double *p2_, // probability of "letters" p2_ [0...dimMatrix_), the second (j) set of letter-p… in copy() argument
79 if (! p2_) p2_ = p_; in copy()
103 memcpy (d_p2_p, p2_, sizeof (double) * getDimMatrix2 ()); in copy()
115 probMatrix [i][j] = p_ [i] * p2_ [j]; in copy()
132 const double *p2_, // probability of "letters" p2_ [0...dimMatrix_), the second (j) set of letter-p… in copy() argument
135 if (! p2_) p2_ = p_; in copy()
153 memcpy (d_p2_p, p2_, sizeof (double) * getDimMatrix2 ()); in copy()
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/algo/blast/gumbel_params/
H A Dnjn_localmaxstatmatrix.cpp81 const double *p2_, // probability of "letters" p2_ [0...dimMatrix_), the second (j) set of letter-p… in copy() argument
84 if (! p2_) p2_ = p_; in copy()
108 memcpy (d_p2_p, p2_, sizeof (double) * getDimMatrix2 ()); in copy()
120 probMatrix [i][j] = p_ [i] * p2_ [j]; in copy()
137 const double *p2_, // probability of "letters" p2_ [0...dimMatrix_), the second (j) set of letter-p… in copy() argument
140 if (! p2_) p2_ = p_; in copy()
157 memcpy (d_p2_p, p2_, sizeof (double) * getDimMatrix2 ()); in copy()
/dports/lang/spidermonkey60/firefox-60.9.0/media/mtransport/test/
H A Dice_unittest.cpp1658 p2_ = nullptr; in TearDown()
1937 p2_->StartChecks(); in ConnectThenDelete()
2603 p2_->RestartIce(); in TEST_F()
2614 p2_->AddStream(1); in TEST_F()
2635 p2_->RestartIce(); in TEST_F()
2646 p2_->AddStream(1); in TEST_F()
2673 p2_->RestartIce(); in TEST_F()
2690 p2_->AddStream(1); in TEST_F()
3428 p2_->Gather(); in TEST_F()
3713 p2_->StartChecks(); in TEST_F()
[all …]
/dports/biology/lamarc/lamarc-2.1.8/boost/multi_index/detail/
H A Dscope_guard.hpp122 void execute(){fun_(p1_,p2_);} in execute()
127 const P2 p2_; member in boost::multi_index::detail::scope_guard_impl2
142 void execute(){fun_(p1_,p2_,p3_);} in execute()
147 const P2 p2_; member in boost::multi_index::detail::scope_guard_impl3
162 fun_(fun),p1_(p1),p2_(p2),p3_(p3),p4_(p4){} in scope_guard_impl4()
164 void execute(){fun_(p1_,p2_,p3_,p4_);} in execute()
169 const P2 p2_; member in boost::multi_index::detail::scope_guard_impl4
227 obj_(obj),mem_fun_(mem_fun),p1_(p1),p2_(p2) in obj_scope_guard_impl2()
230 void execute(){(obj_.*mem_fun_)(p1_,p2_);} in execute()
236 const P2 p2_; member in boost::multi_index::detail::obj_scope_guard_impl2
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/media/mtransport/test/
H A Dice_unittest.cpp1641 p2_ = nullptr; in TearDown()
1926 p2_->StartChecks(); in ConnectThenDelete()
2592 p2_->RestartIce(); in TEST_F()
2603 p2_->AddStream(1); in TEST_F()
2624 p2_->RestartIce(); in TEST_F()
2635 p2_->AddStream(1); in TEST_F()
2662 p2_->RestartIce(); in TEST_F()
2679 p2_->AddStream(1); in TEST_F()
3374 p2_->Gather(); in TEST_F()
3659 p2_->StartChecks(); in TEST_F()
[all …]
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/geometry/
H A Dgeometries1D.cpp287 std::swap(p1_,p2_); in reverse()
531 std::swap(p1_,p2_); in reverse()
545 Point i=(p1_+p2_)/2.; in computeMB()
554 Point cp2=p2_-c_; in computeBB()
561 Point pp3=p2_; in computeBB()
564 Point pt=c_+p2_-ph; in computeBB()
773 Point i=(p1_+p2_)/2.; in computeMB()
782 Point cp2=p2_-c_; in computeBB()
789 Point pp3=p2_; in computeBB()
792 Point pt=c_+p2_-ph; in computeBB()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/signaling/test/
H A Dmediapipeline_unittest.cpp363 p2_.Stop();
365 p2_.Shutdown();
403 p2_.SetBundleFilter(initialFilter);
416 p2_.Start();
432 WrapRunnable(&p2_,
441 p2_.Stop();
447 p2_.Shutdown();
477 TestAgentReceive p2_;
689 ASSERT_GT(p2_.GetAudioRtpCountReceived(), 40);
692 ASSERT_GT(p2_.GetAudioRtcpCountReceived(), 0);
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/media/webrtc/transport/test/
H A Dtransport_unittests.cpp826 p2_ = nullptr; in TransportTest()
831 delete p2_; in TearDown()
858 if (p2_) { in Reset()
859 delete p2_; in Reset()
867 p2_->SetupSrtp(); in SetupSrtp()
919 p2_->InitIce(); in ConnectIce()
920 p1_->ConnectIce(p2_); in ConnectIce()
921 p2_->ConnectIce(p1_); in ConnectIce()
955 TransportTestPeer* p2_; member in __anon1c8e09a30111::TransportTest
988 DisableChaCha(p2_); in TEST_F()
[all …]
H A Dice_unittest.cpp1565 p2_ = nullptr; in TearDown()
1825 p2_->StartChecks(); in ConnectThenDelete()
2624 p2_->RestartIce(); in TEST_F()
2659 p2_->RestartIce(); in TEST_F()
2693 p2_->RestartIce(); in TEST_F()
2764 p2_->RestartIce(); in TEST_F()
2768 p2_->Gather(); in TEST_F()
3658 p2_->Gather(); in TEST_F()
3899 AddNonPairableCandidates(p2_->ControlTrickle(0), p2_.get(), 0, host_net, in TEST_F()
3986 p2_->StartChecks(); in TEST_F()
[all …]
/dports/www/firefox/firefox-99.0/dom/media/webrtc/transport/test/
H A Dtransport_unittests.cpp826 p2_ = nullptr; in TransportTest()
831 delete p2_; in TearDown()
858 if (p2_) { in Reset()
859 delete p2_; in Reset()
867 p2_->SetupSrtp(); in SetupSrtp()
919 p2_->InitIce(); in ConnectIce()
920 p1_->ConnectIce(p2_); in ConnectIce()
921 p2_->ConnectIce(p1_); in ConnectIce()
955 TransportTestPeer* p2_; member in __anon1cc908ee0111::TransportTest
988 DisableChaCha(p2_); in TEST_F()
[all …]
H A Dice_unittest.cpp1565 p2_ = nullptr; in TearDown()
1825 p2_->StartChecks(); in ConnectThenDelete()
2659 p2_->RestartIce(); in TEST_F()
2694 p2_->RestartIce(); in TEST_F()
2728 p2_->RestartIce(); in TEST_F()
2799 p2_->RestartIce(); in TEST_F()
2803 p2_->Gather(); in TEST_F()
3693 p2_->Gather(); in TEST_F()
3934 AddNonPairableCandidates(p2_->ControlTrickle(0), p2_.get(), 0, host_net, in TEST_F()
4021 p2_->StartChecks(); in TEST_F()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/dom/media/webrtc/transport/test/
H A Dtransport_unittests.cpp826 p2_ = nullptr; in TransportTest()
831 delete p2_; in TearDown()
858 if (p2_) { in Reset()
859 delete p2_; in Reset()
867 p2_->SetupSrtp(); in SetupSrtp()
919 p2_->InitIce(); in ConnectIce()
920 p1_->ConnectIce(p2_); in ConnectIce()
921 p2_->ConnectIce(p1_); in ConnectIce()
955 TransportTestPeer* p2_; member in __anonee1ffb3a0111::TransportTest
988 DisableChaCha(p2_); in TEST_F()
[all …]
H A Dice_unittest.cpp1565 p2_ = nullptr; in TearDown()
1825 p2_->StartChecks(); in ConnectThenDelete()
2624 p2_->RestartIce(); in TEST_F()
2659 p2_->RestartIce(); in TEST_F()
2693 p2_->RestartIce(); in TEST_F()
2764 p2_->RestartIce(); in TEST_F()
2768 p2_->Gather(); in TEST_F()
3658 p2_->Gather(); in TEST_F()
3899 AddNonPairableCandidates(p2_->ControlTrickle(0), p2_.get(), 0, host_net, in TEST_F()
3986 p2_->StartChecks(); in TEST_F()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/media/mtransport/test/
H A Dtransport_unittests.cpp820 p2_ = nullptr; in TransportTest()
825 delete p2_; in TearDown()
852 if (p2_) { in Reset()
853 delete p2_; in Reset()
861 p2_->SetupSrtp(); in SetupSrtp()
913 p2_->InitIce(); in ConnectIce()
914 p1_->ConnectIce(p2_); in ConnectIce()
915 p2_->ConnectIce(p1_); in ConnectIce()
949 TransportTestPeer* p2_; member in __anonf51e30ed0111::TransportTest
982 DisableChaCha(p2_); in TEST_F()
[all …]

12345678910>>...26