Home
last modified time | relevance | path

Searched refs:RandomPoint (Results 1 – 25 of 118) sorted by relevance

12345

/dports/graphics/s2/s2geometry-0.9.0/src/s2/
H A Ds2edge_vector_shape_test.cc38 S2Point a = S2Testing::RandomPoint(); // Control the evaluation order in TEST()
39 shape.Add(a, S2Testing::RandomPoint()); in TEST()
51 EXPECT_EQ(S2Testing::RandomPoint(), edge.v0); in TEST()
52 EXPECT_EQ(S2Testing::RandomPoint(), edge.v1); in TEST()
H A Ds2latlng_rect_bounder_test.cc90 S2Point u = S2Testing::RandomPoint(); in TEST()
144 return PerturbATowardsB(RandomPole(), S2Testing::RandomPoint()); in PointNearPole()
175 a = S2Testing::RandomPoint(); in TEST()
186 b = PerturbATowardsB(a, S2Testing::RandomPoint()); in TEST()
191 b = PerturbATowardsB(a, S2Testing::RandomPoint()); in TEST()
195 a = S2Testing::RandomPoint(); in TEST()
196 b = PerturbATowardsB(a, S2Testing::RandomPoint()); in TEST()
H A Ds2point_vector_shape_test.cc41 points.push_back(S2Testing::RandomPoint()); in TEST()
55 S2Point pt = S2Testing::RandomPoint(); in TEST()
H A Ds2measures_test.cc79 S2Point p0 = S2Testing::RandomPoint(); in TEST()
80 S2Point d1 = S2Testing::RandomPoint(); in TEST()
81 S2Point d2 = S2Testing::RandomPoint(); in TEST()
H A Ds2region_term_indexer_test.cc63 cap = S2Cap::FromPoint(S2Testing::RandomPoint()); in TestRandomCaps()
84 cap = S2Cap::FromPoint(S2Testing::RandomPoint()); in TestRandomCaps()
180 S2Point point = S2Testing::RandomPoint(); in TEST()
H A Ds2testing.cc210 S2Point S2Testing::RandomPoint() { in RandomPoint() function in S2Testing
221 *z = RandomPoint(); in GetRandomFrame()
226 return GetRandomFrameAt(RandomPoint()); in GetRandomFrame()
230 *x = z.CrossProd(RandomPoint()).Normalize(); in GetRandomFrameAt()
256 return S2Cap::FromCenterArea(RandomPoint(), cap_area); in GetRandomCap()
/dports/graphics/py-s2/s2geometry-0.9.0/src/s2/
H A Ds2edge_vector_shape_test.cc38 S2Point a = S2Testing::RandomPoint(); // Control the evaluation order in TEST()
39 shape.Add(a, S2Testing::RandomPoint()); in TEST()
51 EXPECT_EQ(S2Testing::RandomPoint(), edge.v0); in TEST()
52 EXPECT_EQ(S2Testing::RandomPoint(), edge.v1); in TEST()
H A Ds2latlng_rect_bounder_test.cc90 S2Point u = S2Testing::RandomPoint(); in TEST()
144 return PerturbATowardsB(RandomPole(), S2Testing::RandomPoint()); in PointNearPole()
175 a = S2Testing::RandomPoint(); in TEST()
186 b = PerturbATowardsB(a, S2Testing::RandomPoint()); in TEST()
191 b = PerturbATowardsB(a, S2Testing::RandomPoint()); in TEST()
195 a = S2Testing::RandomPoint(); in TEST()
196 b = PerturbATowardsB(a, S2Testing::RandomPoint()); in TEST()
H A Ds2point_vector_shape_test.cc41 points.push_back(S2Testing::RandomPoint()); in TEST()
55 S2Point pt = S2Testing::RandomPoint(); in TEST()
H A Ds2region_term_indexer_test.cc63 cap = S2Cap::FromPoint(S2Testing::RandomPoint()); in TestRandomCaps()
84 cap = S2Cap::FromPoint(S2Testing::RandomPoint()); in TestRandomCaps()
180 S2Point point = S2Testing::RandomPoint(); in TEST()
H A Ds2measures_test.cc79 S2Point p0 = S2Testing::RandomPoint(); in TEST()
80 S2Point d1 = S2Testing::RandomPoint(); in TEST()
81 S2Point d2 = S2Testing::RandomPoint(); in TEST()
H A Ds2testing.cc210 S2Point S2Testing::RandomPoint() { in RandomPoint() function in S2Testing
221 *z = RandomPoint(); in GetRandomFrame()
226 return GetRandomFrameAt(RandomPoint()); in GetRandomFrame()
230 *x = z.CrossProd(RandomPoint()).Normalize(); in GetRandomFrameAt()
256 return S2Cap::FromCenterArea(RandomPoint(), cap_area); in GetRandomCap()
/dports/devel/vcglib/vcglib-2020.09/apps/sample/space_index_2d/
H A Dspace_index_2d.cpp68 vcg::Point2<MyScalarType> RandomPoint(MyScalarType SpaceSize=100) in RandomPoint() function
85 P0=RandomPoint(SpaceSize); in RandomSeg()
86 vcg::Point2<MyScalarType> D=RandomPoint(SpaceSize); in RandomSeg()
230 vcg::Point2<MyScalarType> P0=RandomPoint(SpaceSize); in TestBox()
231 vcg::Point2<MyScalarType> P1=RandomPoint(SpaceSize); in TestBox()
267 vcg::Point2<MyScalarType> P0=RandomPoint(SpaceSize); in TestClosest()
296 vcg::Point2<MyScalarType> P0=RandomPoint(SpaceSize); in TestRay()
297 vcg::Point2<MyScalarType> P1=RandomPoint(SpaceSize); in TestRay()
/dports/math/vtk9/VTK-9.1.0/Common/DataModel/Testing/Cxx/
H A DUnitTestTriangleIntersection.cxx411 void RandomPoint(vtkRandom* seq, double* p) in RandomPoint() function
427 RandomPoint(seq, p1); in TestPositiveResult()
428 RandomPoint(seq, p2); in TestPositiveResult()
429 RandomPoint(seq, t1[0]); in TestPositiveResult()
430 RandomPoint(seq, t2[0]); in TestPositiveResult()
463 RandomPoint(seq, p1); in TestCoplanarPositiveResult()
464 RandomPoint(seq, p2); in TestCoplanarPositiveResult()
465 RandomPoint(seq, t1[0]); in TestCoplanarPositiveResult()
466 RandomPoint(seq, t2[0]); in TestCoplanarPositiveResult()
475 RandomPoint(seq, orgn); in TestCoplanarPositiveResult()
[all …]
/dports/math/vtk8/VTK-8.2.0/Common/DataModel/Testing/Cxx/
H A DUnitTestTriangleIntersection.cxx428 void RandomPoint(vtkRandom* seq, double* p) in RandomPoint() function
445 RandomPoint( seq, p1 ); in TestPositiveResult()
446 RandomPoint( seq, p2 ); in TestPositiveResult()
447 RandomPoint( seq, t1[0] ); in TestPositiveResult()
448 RandomPoint( seq, t2[0] ); in TestPositiveResult()
482 RandomPoint( seq, p1 ); in TestCoplanarPositiveResult()
483 RandomPoint( seq, p2 ); in TestCoplanarPositiveResult()
484 RandomPoint( seq, t1[0] ); in TestCoplanarPositiveResult()
485 RandomPoint( seq, t2[0] ); in TestCoplanarPositiveResult()
494 RandomPoint( seq, orgn ); in TestCoplanarPositiveResult()
[all …]
/dports/graphics/s2/s2geometry-0.9.0/doc/examples/
H A Dpoint_index.cc25 index.Add(S2Testing::RandomPoint(), i); in main()
37 S2ClosestPointQuery<int>::PointTarget target(S2Testing::RandomPoint()); in main()
H A Dterm_index.cc44 documents.push_back(S2Testing::RandomPoint()); in main()
74 S2Cap query_region(S2Testing::RandomPoint(), radius); in main()
/dports/graphics/py-s2/s2geometry-0.9.0/doc/examples/
H A Dpoint_index.cc25 index.Add(S2Testing::RandomPoint(), i); in main()
37 S2ClosestPointQuery<int>::PointTarget target(S2Testing::RandomPoint()); in main()
H A Dterm_index.cc44 documents.push_back(S2Testing::RandomPoint()); in main()
74 S2Cap query_region(S2Testing::RandomPoint(), radius); in main()
/dports/editors/lazarus-devel/examples/pen_brush/
H A Dunit1.pas133 function RandomPoint(R: TRect): TPoint; in RandomPoint() function
151 Points[1] := RandomPoint(R);
152 Points[2] := RandomPoint(R);
/dports/editors/lazarus/examples/pen_brush/
H A Dunit1.pas133 function RandomPoint(R: TRect): TPoint; in RandomPoint() function
151 Points[1] := RandomPoint(R);
152 Points[2] := RandomPoint(R);
/dports/editors/lazarus-qt5/examples/pen_brush/
H A Dunit1.pas133 function RandomPoint(R: TRect): TPoint; in RandomPoint() function
151 Points[1] := RandomPoint(R);
152 Points[2] := RandomPoint(R);
/dports/editors/lazarus-qt5-devel/examples/pen_brush/
H A Dunit1.pas133 function RandomPoint(R: TRect): TPoint; in RandomPoint() function
151 Points[1] := RandomPoint(R);
152 Points[2] := RandomPoint(R);
/dports/graphics/R-cran-s2/s2/src/s2/
H A Ds2testing.cc211 S2Point S2Testing::RandomPoint() { in RandomPoint() function in S2Testing
222 *z = RandomPoint(); in GetRandomFrame()
227 return GetRandomFrameAt(RandomPoint()); in GetRandomFrame()
231 *x = z.CrossProd(RandomPoint()).Normalize(); in GetRandomFrameAt()
257 return S2Cap::FromCenterArea(RandomPoint(), cap_area); in GetRandomCap()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/s2/
H A Ds2testing.cc222 S2Point S2Testing::RandomPoint() { in RandomPoint() function in S2Testing
233 *x = RandomPoint(); in GetRandomFrame()
234 *y = x->CrossProd(RandomPoint()).Normalize(); in GetRandomFrame()
254 return S2Cap::FromAxisArea(RandomPoint(), cap_area); in GetRandomCap()

12345