Home
last modified time | relevance | path

Searched refs:gA (Results 1 – 25 of 909) sorted by relevance

12345678910>>...37

/dports/databases/sfcgal/SFCGAL-815d5097f684dbc48b22041bf2047beab36df0a1/src/algorithm/
H A Ddistance.cpp61 switch ( gA.geometryTypeId() ) { in distance()
143 if ( gA.isEmpty() || gB.isEmpty() ) { in distancePointPoint()
159 if ( gA.isEmpty() || gB.isEmpty() ) { in distancePointLineString()
183 if ( gA.isEmpty() || gB.isEmpty() ) { in distancePointPolygon()
220 if ( gA.isEmpty() || gB.isEmpty() ) { in distanceLineStringGeometry()
262 if ( gA.isEmpty() || gB.isEmpty() ) { in distanceLineStringLineString()
266 size_t nsA = gA.numSegments() ; in distanceLineStringLineString()
276 gA.pointN( i ), gA.pointN( i+1 ), in distanceLineStringLineString()
292 if ( gA.isEmpty() || gB.isEmpty() ) { in distanceLineStringPolygon()
331 if ( gA.isEmpty() || gB.isEmpty() ) { in distancePolygonGeometry()
[all …]
H A DminkowskiSum.cpp85 if ( gA.isEmpty() ) { in minkowskiSum()
89 switch ( gA.geometryTypeId() ) { in minkowskiSum()
130 gA.toVector_2() in minkowskiSum()
158 if ( gA.isEmpty() ) { in minkowskiSum()
162 int npt = gA.numPoints() ; in minkowskiSum()
166 P.push_back( gA.pointN( i ).toPoint_2() ); in minkowskiSum()
167 P.push_back( gA.pointN( i+1 ).toPoint_2() ); in minkowskiSum()
194 if ( gA.isEmpty() ) { in minkowskiSum()
218 if ( gA.hasInteriorRings() ) { in minkowskiSum()
272 minkowskiSum( gA, gB.toPolygon_2(), polygonSet ) ; in minkowskiSum()
[all …]
H A Ddistance3d.cpp63 switch ( gA.geometryTypeId() ) { in distance3D()
147 if ( gA.isEmpty() || gB.isEmpty() ) { in distancePointPoint3D()
163 if ( gA.isEmpty() || gB.isEmpty() ) { in distancePointLineString3D()
182 if ( gA.isEmpty() || gB.isEmpty() ) { in distancePointTriangle3D()
195 if ( gA.isEmpty() || gB.isEmpty() ) { in distancePointPolygon3D()
211 if ( gA.isEmpty() || gB.isEmpty() ) { in distancePointSolid3D()
275 if ( gA.isEmpty() || gB.isEmpty() ) { in distanceLineStringLineString3D()
279 size_t nsA = gA.numSegments() ; in distanceLineStringLineString3D()
289 gA.pointN( i ), gA.pointN( i+1 ), in distanceLineStringLineString3D()
304 if ( gA.isEmpty() || gB.isEmpty() ) { in distanceLineStringTriangle3D()
[all …]
H A Ddistance3d.h40 SFCGAL_API double distance3D( const Geometry& gA, const Geometry& gB ) ;
55 SFCGAL_API double distancePointGeometry3D( const Point& gA, const Geometry& gB ) ;
60 SFCGAL_API double distancePointPoint3D( const Point& gA, const Point& gB ) ;
65 SFCGAL_API double distancePointLineString3D( const Point& gA, const LineString& gB ) ;
70 SFCGAL_API double distancePointTriangle3D( const Point& gA, const Triangle& gB ) ;
75 SFCGAL_API double distancePointPolygon3D( const Point& gA, const Polygon& gB ) ;
80 SFCGAL_API double distancePointSolid3D( const Point& gA, const Solid& gB ) ;
108 SFCGAL_API double distanceLineStringSolid3D( const LineString& gA, const Solid& gB ) ;
119 SFCGAL_API double distanceTriangleSolid3D( const Triangle& gA, const Solid& gB ) ;
134 SFCGAL_API double distanceSolidGeometry3D( const Solid& gA, const Geometry& gB ) ;
[all …]
H A Ddistance.h39 SFCGAL_API double distance( const Geometry& gA, const Geometry& gB ) ;
48 SFCGAL_API double distance( const Geometry& gA, const Geometry& gB, NoValidityCheck ) ;
54 SFCGAL_API double distancePointGeometry( const Point& gA, const Geometry& gB ) ;
59 SFCGAL_API double distancePointPoint( const Point& gA, const Point& gB ) ;
64 SFCGAL_API double distancePointLineString( const Point& gA, const LineString& gB ) ;
69 SFCGAL_API double distancePointPolygon( const Point& gA, const Polygon& gB ) ;
74 SFCGAL_API double distancePointTriangle( const Point& gA, const Triangle& gB ) ;
101 SFCGAL_API double distancePolygonGeometry( const Polygon& gA, const Geometry& gB ) ;
106 SFCGAL_API double distancePolygonPolygon( const Polygon& gA, const Polygon& gB ) ;
111 SFCGAL_API double distancePolygonTriangle( const Polygon& gA, const Triangle& gB ) ;
[all …]
/dports/databases/sfcgal/SFCGAL-815d5097f684dbc48b22041bf2047beab36df0a1/test/unit/SFCGAL/algorithm/
H A DOffsetTest.cpp61 std::unique_ptr< Geometry > gA( io::readWkt( "POLYGON((0 0,10 0,10 10,0 10,0 0))" ) ); in BOOST_AUTO_TEST_CASE() local
63 std::unique_ptr< MultiPolygon > result( algorithm::offset( *gA, 1.0 ) ) ; in BOOST_AUTO_TEST_CASE()
71 std::unique_ptr< MultiPolygon > result( algorithm::offset( *gA, 1.0 ) ) ; in BOOST_AUTO_TEST_CASE()
83 std::unique_ptr< Geometry > gA( io::readWkt( "POINT(1 1)" ) ); in BOOST_AUTO_TEST_CASE() local
84 std::unique_ptr< MultiPolygon > result( algorithm::offset( *gA, 1.0 ) ) ; in BOOST_AUTO_TEST_CASE()
92 std::unique_ptr< MultiPolygon > result( algorithm::offset( *gA, 0.5 ) ) ; in BOOST_AUTO_TEST_CASE()
101 std::unique_ptr< MultiPolygon > result( algorithm::offset( *gA, 0.5 ) ) ; in BOOST_AUTO_TEST_CASE()
113 std::unique_ptr< MultiPolygon > result( algorithm::offset( *gA, 1.0 ) ) ; in BOOST_AUTO_TEST_CASE()
120 std::unique_ptr< MultiPolygon > result( algorithm::offset( *gA, 1.0 ) ) ; in BOOST_AUTO_TEST_CASE()
127 std::unique_ptr< MultiPolygon > result( algorithm::offset( *gA, 1. ) ) ; in BOOST_AUTO_TEST_CASE()
[all …]
H A DDistanceTest.cpp75 BOOST_CHECK_NO_THROW( dAB = gA->distance( *gB ) ) ;
169 BOOST_CHECK_EQUAL( gA->distance( *gB ), 0.0 ); in BOOST_AUTO_TEST_CASE()
183 BOOST_CHECK_EQUAL( gA->distance( *gB ), 5.0 ); in BOOST_AUTO_TEST_CASE()
190 BOOST_CHECK_EQUAL( gA->distance3D( *gB ), 5.0 ); in BOOST_AUTO_TEST_CASE()
198 BOOST_CHECK_EQUAL( gA->distance3D( *gB ), 0.0 ); in BOOST_AUTO_TEST_CASE()
204 BOOST_CHECK_EQUAL( gA->distance3D( *gB ), 1.0 ); in BOOST_AUTO_TEST_CASE()
212 BOOST_CHECK_EQUAL( gA->distance3D( *gB ), 0.0 ); in BOOST_AUTO_TEST_CASE()
218 BOOST_CHECK_EQUAL( gA->distance3D( *gB ), 1.0 ); in BOOST_AUTO_TEST_CASE()
227 BOOST_CHECK_EQUAL( gA->distance( *gB ), 1.0 ); in BOOST_AUTO_TEST_CASE()
234 BOOST_CHECK_EQUAL( gA->distance( *gB ), 5.0 ); in BOOST_AUTO_TEST_CASE()
[all …]
H A DMinkowskiSumTest.cpp61 std::unique_ptr< Geometry > gA( io::readWkt( "MULTIPOINT EMPTY" ) ); in BOOST_AUTO_TEST_CASE() local
64 std::unique_ptr< Geometry > sum( algorithm::minkowskiSum( *gA, gB->as< Polygon >() ) ); in BOOST_AUTO_TEST_CASE()
70 std::unique_ptr< Geometry > gA( io::readWkt( "POINT(0 0)" ) ); in BOOST_AUTO_TEST_CASE() local
73 std::unique_ptr< Geometry > sum( algorithm::minkowskiSum( *gA, gB->as< Polygon >() ) ); in BOOST_AUTO_TEST_CASE()
78 std::unique_ptr< Geometry > gA( io::readWkt( "LINESTRING(0 0,5 0)" ) ); in BOOST_AUTO_TEST_CASE() local
89 std::unique_ptr< Geometry > gA( io::readWkt( "LINESTRING(0 0,5 0)" ) ); in BOOST_AUTO_TEST_CASE() local
100 std::unique_ptr< Geometry > gA( io::readWkt( "LINESTRING(5 5,0 5,5 0,0 0)" ) ); in BOOST_AUTO_TEST_CASE() local
110 std::unique_ptr< Geometry > gA( io::readWkt( wkt ) ); in BOOST_AUTO_TEST_CASE() local
118 gA->as< Polygon >().reverse() ; in BOOST_AUTO_TEST_CASE()
119 sum = algorithm::minkowskiSum( *gA, gB->as< Polygon >() ) ; in BOOST_AUTO_TEST_CASE()
[all …]
H A DIntersectsTest.cpp88 std::unique_ptr< Geometry > gA( io::readWkt( wktGA ) ); in BOOST_AUTO_TEST_CASE() local
93 …BOOST_CHECK_MESSAGE( algorithm::intersects( *gA,*gB ) == expected, numLine << ": intersects(" << g… in BOOST_AUTO_TEST_CASE()
95 …K_MESSAGE( algorithm::intersects( *gB,*gA ) == expected, numLine << ": intersects(" << gB->asText(… in BOOST_AUTO_TEST_CASE()
98 bool got = algorithm::intersects3D( *gA,*gB ); in BOOST_AUTO_TEST_CASE()
99 …BOOST_CHECK_MESSAGE( got == expected, numLine << ": intersects3D(" << gA->asText() << ", " << gB->… in BOOST_AUTO_TEST_CASE()
101 got = algorithm::intersects3D( *gB,*gA ); in BOOST_AUTO_TEST_CASE()
102 …( got == expected, numLine << ": intersects3D(" << gB->asText() << ", " << gA->asText() << ") shou… in BOOST_AUTO_TEST_CASE()
H A DNormalTest.cpp61 std::unique_ptr<Geometry> gA( io::readWkt( "POLYGON((0 0,1 0,1 1,0 1,0 0))" ) ); in BOOST_AUTO_TEST_CASE() local
69 CGAL::Vector_3<Kernel> normal = algorithm::normal3D<Kernel>( gA->as<Polygon>() ); in BOOST_AUTO_TEST_CASE()
94 std::unique_ptr<Geometry> gA( io::readWkt( "POLYGON((0 1 0,0 1 1,1 1 1,1 1 0,0 1 0))" ) ); in BOOST_AUTO_TEST_CASE() local
97 CGAL::Vector_3<Kernel> normal = algorithm::normal3D<Kernel>( gA->as<Polygon>(), true ); in BOOST_AUTO_TEST_CASE()
99 … CGAL::Plane_3<Kernel> plane( gA->as<Polygon>().exteriorRing().startPoint().toPoint_3(), normal ); in BOOST_AUTO_TEST_CASE()
105 CGAL::Vector_3<Kernel> normal = algorithm::normal3D<Kernel>( gA->as<Polygon>(), false ); in BOOST_AUTO_TEST_CASE()
107 … CGAL::Plane_3<Kernel> plane( gA->as<Polygon>().exteriorRing().startPoint().toPoint_3(), normal ); in BOOST_AUTO_TEST_CASE()
H A DIntersectionTest.cpp148 std::unique_ptr< Geometry > gA; in BOOST_AUTO_TEST_CASE() local
163 gA.reset( found->second->clone() ); in BOOST_AUTO_TEST_CASE()
166 gA = io::readWkt( wktGA ); in BOOST_AUTO_TEST_CASE()
169 insertOrReplace( storedGeom, "A", gA->clone() ); in BOOST_AUTO_TEST_CASE()
222 std::unique_ptr<Geometry> result = algorithm::intersection( *gA,*gB ); in BOOST_AUTO_TEST_CASE()
223 …BOOST_CHECK_MESSAGE( *result == *gOut, numLine << ": intersection(" << gA->asText() << ", " << gB-… in BOOST_AUTO_TEST_CASE()
226 std::unique_ptr<Geometry> result = algorithm::intersection3D( *gA,*gB ); in BOOST_AUTO_TEST_CASE()
227 …BOOST_CHECK_MESSAGE( *result == *gOut, numLine << ": intersection3D(" << gA->asText() << ", " << g… in BOOST_AUTO_TEST_CASE()
H A DCoversTest.cpp107 std::unique_ptr< Geometry > gA( io::readWkt( wktGA ) ); in BOOST_AUTO_TEST_CASE() local
112 …BOOST_CHECK_MESSAGE( algorithm::covers( *gA,*gB ) == expected, numLine << ": covers(" << gA->asTex… in BOOST_AUTO_TEST_CASE()
115 bool got = algorithm::covers3D( *gA,*gB ); in BOOST_AUTO_TEST_CASE()
116 …BOOST_CHECK_MESSAGE( got == expected, numLine << ": covers3D(" << gA->asText() << ", " << gB->asTe… in BOOST_AUTO_TEST_CASE()
/dports/graphics/geos/geos-3.9.1/tests/xmltester/
H A DXMLTester.cpp292 gA(nullptr), in XMLTester()
340 if(gA) { in printTest()
380 if(gA) { in printTest()
661 gA = nullptr; in parseCase()
721 delete gA; in parseCase()
968 geom::Geometry* p_gT = gA; in parseTest()
1074 dgB = gA; in parseTest()
1236 dgB = gA; in parseTest()
1875 plgnzr.add(gA); in parseTest()
2244 if(test_predicates && gB && gA) { in parseTest()
[all …]
/dports/science/teem/teem-1.11.0-src/src/bane/
H A Dscat.c30 Nrrd *gA, *hA, *gB, *hB; in baneRawScatterplots() local
43 gA = nrrdNew(); gB = nrrdNew(); in baneRawScatterplots()
47 if (!E) E |= nrrdProject(gA, hvol, 1, nrrdMeasureSum, nrrdTypeDefault); in baneRawScatterplots()
56 if (!E) E |= nrrdHistoEq(gB, gA, NULL, baneStateHistEqBins, in baneRawScatterplots()
61 if (!E) E |= nrrdCopy(gB, gA); in baneRawScatterplots()
70 if (!E) E |= nrrdAxesSwap(gA, gB, 0, 1); in baneRawScatterplots()
72 if (!E) E |= nrrdFlip(gB, gA, 1); in baneRawScatterplots()
86 nrrdNuke(gA); nrrdNuke(gB); in baneRawScatterplots()
/dports/emulators/qemu/qemu-6.2.0/tests/tcg/hexagon/
H A Dvector_add_int.c20 int gA[401]; variable
28 gA[i] = gB[i] + gC[i]; in vector_add_int()
40 gA[400] = 17; in main()
43 if (gA[i] != i * 5) { in main()
47 printf("gA[%d] = %d\n", i, gA[i]); in main()
50 if (gA[400] != 17) { in main()
/dports/graphics/p5-Convert-Color/Convert-Color-0.11/lib/Convert/Color/
H A DRGB16.pm189 my ( $rA, $gA, $bA ) = $self->rgb16;
195 $gA * $alphaP + $gB * $alpha + 0.5,
220 my ( $rA, $gA, $bA ) = $self->rgb16;
225 ( $gA * $alphaP + $gB * $alpha ) / 0xffff,
264 my ( $rA, $gA, $bA ) = $self->rgb16;
268 my $dg = $gA - $gB;
H A DRGB8.pm190 my ( $rA, $gA, $bA ) = $self->rgb8;
196 $gA * $alphaP + $gB * $alpha + 0.5,
221 my ( $rA, $gA, $bA ) = $self->rgb8;
226 ( $gA * $alphaP + $gB * $alpha ) / 255,
265 my ( $rA, $gA, $bA ) = $self->rgb8;
269 my $dg = $gA - $gB;
/dports/devel/z88dk/z88dk/libsrc/_DEVELOPMENT/EXAMPLES/benchmarks/sorting/iar406a/
H A DWinmake.bat1 ..\z80\bin\iccz80 -DSTYLE=0 -DNUM=20 -v0 -ml -uua -q -e -K -gA -s9 -t4 -T -Llist\ -Alist\ -I"../z80…
5 ..\z80\bin\iccz80 -DSTYLE=1 -DNUM=20 -v0 -ml -uua -q -e -K -gA -s9 -t4 -T -Llist\ -Alist\ -I"../z80…
9 ..\z80\bin\iccz80 -DSTYLE=2 -DNUM=20 -v0 -ml -uua -q -e -K -gA -s9 -t4 -T -Llist\ -Alist\ -I"../z80…
13 ..\z80\bin\iccz80 -DSTYLE=3 -DNUM=20 -v0 -ml -uua -q -e -K -gA -s9 -t4 -T -Llist\ -Alist\ -I"../z80…
17 ..\z80\bin\iccz80 -DSTYLE=0 -DNUM=5000 -v0 -ml -uua -q -e -K -gA -s9 -t4 -T -Llist\ -Alist\ -I"../z…
21 ..\z80\bin\iccz80 -DSTYLE=1 -DNUM=5000 -v0 -ml -uua -q -e -K -gA -s9 -t4 -T -Llist\ -Alist\ -I"../z…
25 ..\z80\bin\iccz80 -DSTYLE=2 -DNUM=5000 -v0 -ml -uua -q -e -K -gA -s9 -t4 -T -Llist\ -Alist\ -I"../z…
29 ..\z80\bin\iccz80 -DSTYLE=3 -DNUM=5000 -v0 -ml -uua -q -e -K -gA -s9 -t4 -T -Llist\ -Alist\ -I"../z…
/dports/devel/z88dk/z88dk/libsrc/_DEVELOPMENT/EXAMPLES/benchmarks/sorting/iar406a/verify/
H A DWinmake.bat1 ..\z80\bin\iccz80 -DPRINTF -DSTYLE=0 -DNUM=20 -v0 -ml -uua -q -e -K -gA -s9 -t4 -T -Llist\ -Alist\ …
6 ..\z80\bin\iccz80 -DPRINTF -DSTYLE=1 -DNUM=20 -v0 -ml -uua -q -e -K -gA -s9 -t4 -T -Llist\ -Alist\ …
11 ..\z80\bin\iccz80 -DPRINTF -DSTYLE=2 -DNUM=20 -v0 -ml -uua -q -e -K -gA -s9 -t4 -T -Llist\ -Alist\ …
16 ..\z80\bin\iccz80 -DPRINTF -DSTYLE=3 -DNUM=20 -v0 -ml -uua -q -e -K -gA -s9 -t4 -T -Llist\ -Alist\ …
21 ..\z80\bin\iccz80 -DPRINTF -DSTYLE=0 -DNUM=5000 -v0 -ml -uua -q -e -K -gA -s9 -t4 -T -Llist\ -Alist…
26 ..\z80\bin\iccz80 -DPRINTF -DSTYLE=1 -DNUM=5000 -v0 -ml -uua -q -e -K -gA -s9 -t4 -T -Llist\ -Alist…
31 ..\z80\bin\iccz80 -DPRINTF -DSTYLE=2 -DNUM=5000 -v0 -ml -uua -q -e -K -gA -s9 -t4 -T -Llist\ -Alist…
36 ..\z80\bin\iccz80 -DPRINTF -DSTYLE=3 -DNUM=5000 -v0 -ml -uua -q -e -K -gA -s9 -t4 -T -Llist\ -Alist…
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.target/arc/
H A Dsdata-4.c7 short gA __attribute__ ((aligned(1))); variable
11 gA += gA + 3; in foo()
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.target/arc/
H A Dsdata-4.c7 short gA __attribute__ ((aligned(1))); variable
11 gA += gA + 3; in foo()
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gcc.target/arc/
H A Dsdata-4.c7 short gA __attribute__ ((aligned(1))); variable
11 gA += gA + 3; in foo()
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.target/arc/
H A Dsdata-4.c7 short gA __attribute__ ((aligned(1))); variable
11 gA += gA + 3; in foo()
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gcc.target/arc/
H A Dsdata-4.c7 short gA __attribute__ ((aligned(1))); variable
11 gA += gA + 3; in foo()
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.target/arc/
H A Dsdata-4.c7 short gA __attribute__ ((aligned(1))); variable
11 gA += gA + 3; in foo()

12345678910>>...37