From 19d25b8009801aa98ea2f46b45c37c257f990491 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 4 Mar 2020 03:02:32 +0000 Subject: CTAN sync 202003040302 --- graphics/asymptote/asy.list | 93 +++++++++++++++++++++++++-------------------- 1 file changed, 52 insertions(+), 41 deletions(-) (limited to 'graphics/asymptote/asy.list') diff --git a/graphics/asymptote/asy.list b/graphics/asymptote/asy.list index d0dd94a412..f22515923f 100644 --- a/graphics/asymptote/asy.list +++ b/graphics/asymptote/asy.list @@ -40,8 +40,8 @@ bool straight(path3 p, int t); pen makepen(path p); real dotsize(pen p=); real[] curlSpecifier(guide g, int t); -real straightness(path3 p, int t); real straightness(triple z0, triple c0, triple c1, triple z1); +real straightness(path3 p, int t); real log10(real x); real[] log10(real[] a); pen paleblue; @@ -392,6 +392,7 @@ void addSaveFunction(void s()()); object embed3(string, frame, string, string, string, light, projection); filltype NoFill; real colatitude(triple v, bool warn=); +void drawDisk(frame f, real[][] t, pen[] p, real opacity, real shininess, real metallic, real fresnel0); void label(frame f, string s, string size, transform t, pair position, pair align, pen p); void label(picture pic=, Label L, align align=, pen p=, filltype filltype=); void label(pair origin, picture pic=, Label L, align align=, pen p=, filltype filltype=); @@ -697,6 +698,7 @@ bool piecewisestraight(path p); bool piecewisestraight(path3 p); void stop(string file, int line, code s=); void stop(string file, string text, code s=); +void drawCylinder(frame f, real[][] t, pen[] p, real opacity, real shininess, real metallic, real fresnel0, bool core=); pair reldir(path p, real l); pen TimesRoman(string series=, string shape=); slice cut(path p, path knife, int n); @@ -729,7 +731,7 @@ pair sqrt(explicit pair z); string[] spinner; real[] times(path p, real x); real[] times(path p, explicit pair z); -void drawbeziertriangle(frame f, triple[][] p, triple center, bool straight, pen[] p, real opacity, real shininess, real metallic, real fresnel0, real prcshininess, pen[] colors, int interaction, bool prc=); +void drawbeziertriangle(frame f, triple[][] p, triple center, bool straight, pen[] p, real opacity, real shininess, real metallic, real fresnel0, pen[] colors, int interaction, bool primitive=); void Draw(picture pic=, path g, pen p=); filltype Draw; void Draw(picture pic=, explicit path[] g, pen p=); @@ -803,10 +805,10 @@ real inf; real arctime(path p, real l); real arctime(path3 p, real dval); pen palemagenta; -void draw(frame f, triple[][] p, triple center, bool straight, pen[] p, real opacity, real shininess, real metallic, real fresnel0, real prcshininess, pen[] colors, int interaction, bool prc=); +void draw(frame f, triple[][] p, triple center, bool straight, pen[] p, real opacity, real shininess, real metallic, real fresnel0, pen[] colors, int interaction, bool primitive=); void draw(frame f, triple[] p, real[] knot, real[] weights=, pen p); -void draw(frame f, triple[][] p, real[] uknot, real[] vknot, real[][] weights=, pen[] p, real opacity, real shininess, real metallic, real fresnel0, real prcshininess, pen[] colors); -void draw(frame f, triple[] v, int[][] vi, triple[] n, int[][] ni, pen[] p, real opacity, real shininess, real metallic, real fresnel0, real prcshininess, pen[] c=, int[][] ci=); +void draw(frame f, triple[][] p, real[] uknot, real[] vknot, real[][] weights=, pen[] p, real opacity, real shininess, real metallic, real fresnel0, pen[] colors); +void draw(frame f, triple[] v, int[][] vi, triple[] n, int[][] ni, pen[] p, real opacity, real shininess, real metallic, real fresnel0, pen[] c=, int[][] ci=); void draw(picture pic=, path[] g, pen fillrule=, pen[] p); object draw(picture pic=, Label L, path e(frame dest, frame src=, real xmargin=, real ymargin=, pen p=, filltype filltype=, bool above=), pair position, real xmargin=, real ymargin=, pen p=, filltype filltype=, bool above=); void draw(frame f, explicit path[] g, pen p=); @@ -838,12 +840,8 @@ triple unit(triple v); triple min3(frame f); triple min3(pen p); void begin(picture pic=, string name, string id=, bool visible=); -void drawPRCdisk(frame f, real[][] t, pen[] p, real opacity, real shininess); -void drawPRCtube(frame f, path3 center, path3 g, pen[] p, real opacity, real shininess); int CLZ(int a); -void drawPRCsphere(frame f, real[][] t, bool half=, pen[] p, real opacity, real shininess, int type); arrowhead DefaultHead; -void drawPRCcylinder(frame f, real[][] t, pen[] p, real opacity, real shininess); void beginclip(frame f, path[] g, bool stroke=, pen fillrule=, bool copy=); void beginclip(picture pic=, path[] g, bool stroke=, pen fillrule=, bool copy=); void begingroup(frame f); @@ -1090,6 +1088,7 @@ void eval(code s, bool embedded=); void eval(string s, bool embedded=); bool Arrow(picture, path, pen, marginT(path, pen))(arrowhead arrowhead=, real size=, real angle=, filltype filltype=, position position=); bool Arrow(picture, path, pen, marginT(path, pen)); +void drawTube(frame f, triple[] g, real width, pen[] p, real opacity, real shininess, real metallic, real fresnel0, triple min, triple max, bool core=); bool Arrows(picture, path, pen, marginT(path, pen))(arrowhead arrowhead=, real size=, real angle=, filltype filltype=); bool Arrows(picture, path, pen, marginT(path, pen)); int tell(file f); @@ -1839,6 +1838,7 @@ pair viewportsize; pair viewportmargin; string VERSION; real insphere(triple a, triple b, triple c, triple d, triple e); +void drawSphere(frame f, real[][] t, bool half=, pen[] p, real opacity, real shininess, real metallic, real fresnel0, int type); void filldraw(picture pic=, path[] g, pen fillpen=, pen drawpen=); void filldraw(frame f, path[] g, pen fillpen=, pen drawpen=); real dot(real[] a, real[] b); @@ -1874,14 +1874,16 @@ side Relative(explicit pair align); marginT Margins(path, pen); pair truepoint(picture pic=, pair dir, bool user=); real arclength(path p); +real arclength(pair z0, pair c0, pair c1, pair z1); real arclength(path3 p); +real arclength(triple z0, triple c0, triple c1, triple z1); bool finite(real x); bool finite(pair z); bool finite(triple v); void updatefunction(); bool implicitshipout; void _draw(frame f, path g, pen p); -void _draw(frame f, path3 g, triple center=, pen p, int interaction=); +void _draw(frame f, path3 g, triple center=, pen[] p, real opacity, real shininess, real metallic, real fresnel0, int interaction=); void _draw(picture pic, path g, pen p, marginT margin(path, pen)); frame align(frame f, pair align); object align(object F, pair align); @@ -1980,6 +1982,8 @@ void gouraudshade(frame f, path[] g, bool stroke=, pen fillrule=, path[] g, bool stroke=, pen fillrule=, pen[] p, pair[] z, int[] edges, bool copy=); void gouraudshade(picture pic=, path[] g, bool stroke=, pen fillrule=, pen[] p, int[] edges, bool copy=); pair[] fft(pair[] a, int sign=); +pair[][] fft(pair[][] a, int sign=); +pair[][][] fft(pair[][][] a, int sign=); pair SE; pen nobasealign; sCAD operator init(); @@ -2553,9 +2557,9 @@ line line(explicit side side); line complementary(explicit line l); line[] complementary(explicit segment s); arc complementary(arc a); +bool between(point M, point O, point N); point ppoint(arc a, real x); path fromFocus(conic co, real angle1, real angle2, int n, bool direction); -bool between(point M, point O, point N); bool sameside(point M, point N, point O); bool sameside(point M, point P, line l); point[] sameside(point M, line l1, line l2); @@ -2878,10 +2882,10 @@ triangle tangential(triangle t); triangle pedal(triangle t, point M); line pedal(side side, point M); string massformat(string format=, string s, mass M); -int relativesystem; triangle cevian(triangle t, point P); point cevian(side side, point P); line cevian(vertex V, point P); +int relativesystem; void drawline(picture pic=, triangle t, pen p=); void addMargins(picture pic=, real lmargin=, real bmargin=, real rmargin=, real tmargin=, bool rigid=, bool allObject=); triangle medial(triangle t); @@ -3006,10 +3010,10 @@ pair Scale(picture pic=, pair z); real ScaleX(picture pic=, real x); real ScaleY(picture pic=, real y); void xaxisAt(picture pic=, Label L=, void axis(picture, axisT), real xmin=, real xmax=, pen p=, void ticks(frame, transform, Label, pair, path, path, pen, bool(picture, path, pen, marginT(path, pen)), marginT(path, pen), ticklocate, int[], bool opposite=)=, bool arrow(picture, path, pen, marginT(path, pen))=, marginT margin(path, pen)=, bool above=, bool opposite=); -tickvalues generateticks(int sign, Label F=, string ticklabel(real)=, int N, int n=, real Step=, real step=, real Size=, real size=, transform T, pair side, path g, real limit, pen p, ticklocate locate, int[] divisor, bool opposite); void yaxisAt(picture pic=, Label L=, void axis(picture, axisT), real ymin=, real ymax=, pen p=, void ticks(frame, transform, Label, pair, path, path, pen, bool(picture, path, pen, marginT(path, pen)), marginT(path, pen), ticklocate, int[], bool opposite=)=, bool arrow(picture, path, pen, marginT(path, pen))=, marginT margin(path, pen)=, bool above=, bool opposite=); void xaxis(picture pic=, Label L=, void axis(picture, axisT)=, real xmin=, real xmax=, pen p=, void ticks(frame, transform, Label, pair, path, path, pen, bool(picture, path, pen, marginT(path, pen)), marginT(path, pen), ticklocate, int[], bool opposite=)=, bool arrow(picture, path, pen, marginT(path, pen))=, marginT margin(path, pen)=, bool above=); void yaxis(picture pic=, Label L=, void axis(picture, axisT)=, real ymin=, real ymax=, pen p=, void ticks(frame, transform, Label, pair, path, path, pen, bool(picture, path, pen, marginT(path, pen)), marginT(path, pen), ticklocate, int[], bool opposite=)=, bool arrow(picture, path, pen, marginT(path, pen))=, marginT margin(path, pen)=, bool above=, bool autorotate=); +tickvalues generateticks(int sign, Label F=, string ticklabel(real)=, int N, int n=, real Step=, real step=, real Size=, real size=, transform T, pair side, path g, real limit, pen p, ticklocate locate, int[] divisor, bool opposite); void checkconditionlength(int x, int y); real xtrans(transform t, real x); void Top(picture, axisT)(bool extend=); @@ -3082,7 +3086,9 @@ void(flatguide3)[][] lift(real f(real x, real y), guide[][] g, void join(flatgui void(flatguide3)[][] lift(real f(pair z), guide[][] g, void join(flatguide3)(... void(flatguide3)[])=); triple polar(real r, real theta, real phi); void polargraph(flatguide3)(real r(real, real), real theta(real), real phi(real), int n=, void join(flatguide3)(... void(flatguide3)[])=); +bool uperiodic(real[][] a); bool uperiodic(triple[][] a); +bool vperiodic(real[][] a); bool vperiodic(triple[][] a); void OutTicks(picture, real[][], Label, path3, path3, pen, bool(picture, path3, material, marginT3(path3, pen), light, light), marginT3(path3, pen), ticklocate, int[], bool opposite=, bool primary=)(Label format=, string ticklabel(real)=, bool beginlabel=, bool endlabel=, int N=, int n=, real Step=, real step=, bool begin=, bool end=, tickvalues modify(tickvalues)=, real Size=, real size=, bool extend=, pen pTick=, pen ptick=); void OutTicks(picture, real[][], Label, path3, path3, pen, bool(picture, path3, material, marginT3(path3, pen), light, light), marginT3(path3, pen), ticklocate, int[], bool opposite=, bool primary=)(Label format=, string ticklabel(real)=, bool beginlabel=, bool endlabel=, real[] Ticks, real[] ticks=, real Size=, real size=, bool extend=, pen pTick=, pen ptick=); @@ -3105,6 +3111,7 @@ surface surface(real[][] f, real[] x, real[] y, real[] xsplinetype(real[], real[ surface surface(real[][] f, pair a, pair b, real[] xsplinetype(real[], real[]), real[] ysplinetype(real[], real[])=, bool[][] cond=); surface surface(real[][] f, pair a, pair b, bool[][] cond=); surface surface(triple f(pair z), pair a, pair b, int nu=, int nv=, bool cond(pair z)=); +surface surface(triple f(pair z), real[] u, real[] v, real[](real[], real[])[] usplinetype, real[](real[], real[])[] vsplinetype=, bool cond(pair z)=); surface surface(triple f(pair z), pair a, pair b, int nu=, int nv=, real[](real[], real[])[] usplinetype, real[](real[], real[])[] vsplinetype=, bool cond(pair z)=); surface surface(real f(pair z), pair a, pair b, int nx=, int ny=, bool cond(pair z)=); surface surface(real f(pair z), pair a, pair b, int nx=, int ny=, real[] xsplinetype(real[], real[]), real[] ysplinetype(real[], real[])=, bool cond(pair z)=); @@ -3170,6 +3177,8 @@ void zlimits(picture pic=, real min=, real max=, bool void tick(picture pic=, triple v, triple dir, real size=, pen p=); void tick(picture pic=, Label L, real value, triple v, triple dir, string format=, real size=, pen p=); surface bispline(real[][] z, real[][] p, real[][] q, real[][] r, real[] x, real[] y, bool[][] cond=); +real[][][] bispline(real[][] f, real[] x, real[] y, real[] xsplinetype(real[], real[])=, real[] ysplinetype(real[], real[])=, bool[][] cond=); +real[][][] bispline0(real[][] z, real[][] p, real[][] q, real[][] r, real[] x, real[] y, bool[][] cond=); void NoTicks3(picture, real[][], Label, path3, path3, pen, bool(picture, path3, material, marginT3(path3, pen), light, light), marginT3(path3, pen), ticklocate, int[], bool opposite=, bool primary=)(); void NoTicks3(picture, real[][], Label, path3, path3, pen, bool(picture, path3, material, marginT3(path3, pen), light, light), marginT3(path3, pen), ticklocate, int[], bool opposite=, bool primary=); bool Crop; @@ -3208,6 +3217,7 @@ triple Y(picture pic); triple Z(picture pic); grid3(picture pic)[] XYXgrid(position pos=); grid3(picture pic)[] XYXgrid; +position middle; grid3(picture pic)[] XY_XZgrid(position posa=, position posb=); grid3(picture pic)[] XY_XZgrid; grid3(picture pic)[] ZX_ZYgrid(position posa=, position posb=); @@ -3216,7 +3226,6 @@ grid3 XYgrid(picture pic)(position pos=); grid3 XYgrid(picture pic); grid3 ZYgrid(picture pic)(position pos=); grid3 ZYgrid(picture pic); -position middle; void grid3(picture pic=, grid3(picture pic)[][] gridroutine=, int N=, int n=, real Step=, real step=, bool begin=, bool end=, pen pGrid=, pen pgrid=, bool above=); void grid3(picture pic=, grid3(picture pic)[][] gridroutine, int N=, int n=, real Step=, real step=, bool begin=, bool end=, pen[] pGrid, pen[] pgrid, bool above=); ticksgridT OutTicks()(Label F=, string ticklabel(real)=, bool beginlabel=, bool endlabel=, int N=, int n=, real Step=, real step=, bool begin=, bool end=, real Size=, real size=, pen pTick=, pen ptick=, grid3(picture pic)[][] gridroutine, pen pGrid=, pen pgrid=); @@ -3546,26 +3555,26 @@ void background(); pen backgroundcolor; void normalvideo(); void title(string s, pair position=, pair align=, pen p=, bool newslide=); +pen authorpen; pen titlepen; real titleskip; pair dateskip; pair titlealign; pen titlepagepen; -pen authorpen; void titlepage(string title, string author, string institution=, string date=, string url=, bool newslide=); pair titlepageposition; pen codepen; void erasestep(int erasenode); +string cropcode(string s); bool checkposition(); void setpens(pen red=, pen blue=, pen steppen=); -string cropcode(string s); void code(bool center=, string s, pen p=, real indent=, real skip=, filltype filltype=); transform tinv; pair urlskip; void numberpage(pen p=); -pen urlpen; bool allowstepping; pair currentposition; +pen urlpen; int[] firstnode; bool firststep; string asywrite(string s, string preamble=); @@ -3620,8 +3629,8 @@ real angledegrees(triple a, triple b); triple projecttospan(triple toproject, triple v1, triple v2, real mincoeff=); real[] projecttospan_findcoeffs(triple toproject, triple v1, triple v2, bool warn=); triple nGrad(triple)(real f(triple)); -patch[] quadpatches(path3 edgecycle, positionedvector[] corners, real f(triple), triple grad(triple), triple a, triple b, bool usetriangles); triple normalout(int face); +patch[] quadpatches(path3 edgecycle, positionedvector[] corners, real f(triple), triple grad(triple), triple a, triple b, bool usetriangles); int[] makecircle(edge[] edges); real B13(real t); bool check_fpt_zero(triple testpoint, real f(triple), triple grad(triple)); @@ -3670,9 +3679,9 @@ int[] frequency(real[] data, real a, real b, int n); int[][] frequency(real[] x, real[] y, real[] xbins, real[] ybins); int[][] frequency(real[] x, real[] y, pair a, pair b, int nx, int ny=); int[][] frequency(pair[] z, pair a, pair b, int nx, int ny=); -real mean(real[] A); void histogram(picture pic=, real[] bins, real[] count, real low=, pen fillpen=, pen drawpen=, bool bars=, Label legend=, real markersize=); void histogram(picture pic=, real[] data, real a, real b, int n, bool normalize=, real low=, pen fillpen=, pen drawpen=, bool bars=, Label legend=, real markersize=); +real mean(real[] A); int bins(real[] data, int max=); path topbox(pair a, pair b); path halfbox(pair a, pair b); @@ -3682,9 +3691,9 @@ real legendmarkersize; real variancebiased(real[] A); real Gaussian(real x, real sigma); real Gaussian(real x); -linefit operator init(); pair Gaussrandpair(); real Gaussrand(); +linefit operator init(); real skewness(real[] A); linefit leastsquares(real[] x, real[] y); real kurtosis(real[] A); @@ -3708,8 +3717,8 @@ Relation r4b; Component wye; pair max(pair[] z); real hwratio; -pen Orchid; pen WildStrawberry; +pen Orchid; pen Magenta; pen BrickRed; pen CadetBlue; @@ -3735,8 +3744,8 @@ pen ForestGreen; pen BurntOrange; pen Tan; pen Aquamarine; -pen Brown; pen Lavender; +pen Brown; pen RubineRed; pen TealBlue; pen White; @@ -3752,9 +3761,9 @@ pen Black; pen NavyBlue; pen Rhodamine; pen YellowOrange; -pen ProcessBlue; pen Maroon; pen YellowGreen; +pen ProcessBlue; pen LimeGreen; pen Green; pen GreenYellow; @@ -3769,8 +3778,8 @@ pen Violet; pen Periwinkle; pen Thistle; pen Yellow; -pen JungleGreen; pen DarkOrchid; +pen JungleGreen; pen CornflowerBlue; pen RoyalBlue; pen Melon; @@ -3788,8 +3797,10 @@ real trembleRandom; real trembleFrequency; tremble operator init(); real magneticRadius; +void render(path3 s, real r, void f(path3, real)); real[] sample(path3 g, real r, real relstep=); path3 roundedpath(path3 A, real r); +real tubegranularity; int coloredNodes; int coloredSegments; surface surface(rmf[] R, real[] t, coloredpath cp, transform T(real), bool cyclic); @@ -3801,10 +3812,10 @@ real degrees(rmf a, rmf b); string VERSION; pen Orchid; pen Indigo; +pen Seashell; pen Beige; pen SlateBlue; pen SlateGray; -pen Seashell; pen Magenta; pen GhostWhite; pen CadetBlue; @@ -3814,11 +3825,11 @@ pen MidnightBlue; pen Olive; pen OliveDrab; pen Salmon; -pen Chocolate; pen LavenderBlush; +pen Wheat; +pen Chocolate; pen Cyan; pen Gainsboro; -pen Wheat; pen Ivory; pen PeachPuff; pen PapayaWhip; @@ -3827,8 +3838,8 @@ pen Pink; pen MintCream; pen DarkTurquoise; pen Lime; -pen Gray; pen SteelBlue; +pen Gray; pen MediumBlue; pen MediumOrchid; pen MediumPurple; @@ -3846,22 +3857,22 @@ pen Goldenrod; pen ForestGreen; pen Chartreuse; pen NavajoWhite; -pen Tan; pen LemonChiffon; +pen Tan; pen DarkMagenta; pen AntiqueWhite; +pen Aquamarine; pen PaleTurquoise; +pen Aqua; pen IndianRed; -pen Aquamarine; pen Crimson; -pen Aqua; +pen Lavender; pen Azure; pen LawnGreen; pen Brown; pen BurlyWood; pen Moccasin; pen DarkBlue; -pen Lavender; pen Peru; pen White; pen Purple; @@ -3870,11 +3881,11 @@ pen DimGray; pen Orange; pen OrangeRed; pen Fuchsia; -pen Bisque; pen Honeydew; +pen Bisque; pen RosyBrown; -pen Black; pen Sienna; +pen Black; pen Khaki; pen FireBrick; pen Snow; @@ -3882,10 +3893,10 @@ pen Maroon; pen YellowGreen; pen LimeGreen; pen OldLace; -pen Green; -pen GreenYellow; pen DarkOliveGreen; pen DarkOrange; +pen Green; +pen GreenYellow; pen DarkCyan; pen FloralWhite; pen DarkRed; @@ -3899,10 +3910,10 @@ pen SkyBlue; pen SeaGreen; pen DarkViolet; pen Teal; -pen AliceBlue; pen Violet; -pen HotPink; +pen AliceBlue; pen SandyBrown; +pen HotPink; pen DodgerBlue; pen SaddleBrown; pen Tomato; @@ -3926,12 +3937,12 @@ pen Navy; pen LightSkyBlue; pen PaleVioletRed; pen DarkOrchid; +pen Cornsilk; +pen CornflowerBlue; pen LightSlateGray; pen LightSteelBlue; -pen CornflowerBlue; -pen LightYellow; pen rgbint(int r, int g, int b); -pen Cornsilk; +pen LightYellow; pen Coral; pen MistyRose; pen DarkSalmon; -- cgit v1.2.3