diff options
author | Karl Berry <karl@freefriends.org> | 2021-01-02 16:31:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-01-02 16:31:31 +0000 |
commit | 6457cd3f6e21e23e21db6dafff021d17f5457567 (patch) | |
tree | 08f169333e47c5fc1c50e828cf3a0f50bdf9b508 /Build/source/utils/asymptote/runpath.in | |
parent | dc2504a4c02af0ec2fff00e6b833c6143a06b4cd (diff) |
asy 2.68 sources
git-svn-id: svn://tug.org/texlive/trunk@57291 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/runpath.in')
-rw-r--r-- | Build/source/utils/asymptote/runpath.in | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/Build/source/utils/asymptote/runpath.in b/Build/source/utils/asymptote/runpath.in index 9b026e9f209..63fb07612ab 100644 --- a/Build/source/utils/asymptote/runpath.in +++ b/Build/source/utils/asymptote/runpath.in @@ -1,7 +1,7 @@ /***** - * runpicture.in + * runpath.in * - * Runtime functions for picture operations. + * Runtime functions for path operations. * *****/ @@ -11,8 +11,8 @@ path => primPath() transform => primTransform() realarray* => realArray() realarray2* => realArray2() -patharray* => pathArray() -penarray* => penArray() +patharray* => pathArray() +penarray* => penArray() #include "path.h" #include "arrayop.h" @@ -33,7 +33,7 @@ Int windingnumber(array *p, camp::pair z) { size_t size=checkArray(p); Int count=0; - for(size_t i=0; i < size; i++) + for(size_t i=0; i < size; i++) count += read<path *>(p,i)->windingnumber(z); return count; } @@ -247,7 +247,7 @@ realarray* intersections(path p, explicit pair a, explicit pair b, real fuzz=-1) return V; } -// Return the intersection point of the extensions of the line segments +// Return the intersection point of the extensions of the line segments // PQ and pq. pair extension(pair P, pair Q, pair p, pair q) { @@ -279,7 +279,7 @@ pair max(explicit path p) } Int size(patharray *p) -{ +{ size_t size=checkArray(p); Int count=0; for (size_t i = 0; i < size; i++) @@ -288,7 +288,7 @@ Int size(patharray *p) } pair min(patharray *p) -{ +{ size_t size=checkArray(p); if(size == 0) @@ -312,7 +312,7 @@ pair min(patharray *p) } pair max(patharray *p) -{ +{ size_t size=checkArray(p); if(size == 0) @@ -336,7 +336,7 @@ pair max(patharray *p) } pair minAfterTransform(transform t, patharray *p) -{ +{ size_t size=checkArray(p); if(size == 0) @@ -360,7 +360,7 @@ pair minAfterTransform(transform t, patharray *p) } pair maxAfterTransform(transform t, patharray *p) -{ +{ size_t size=checkArray(p); if(size == 0) @@ -429,8 +429,8 @@ bool inside(path g, pair z, pen fillrule=CURRENTPEN) // |a.x a.y 1| // |b.x b.y 1| // |c.x c.y 1| -// -real orient(pair a, pair b, pair c) +// +real orient(pair a, pair b, pair c) { return orient2d(a,b,c); } |