summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/path3.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-19 23:59:33 +0000
committerKarl Berry <karl@freefriends.org>2010-04-19 23:59:33 +0000
commitdddce3148a2bc785603576b18ffcf72d39adbe47 (patch)
tree14f4c79ef11bcf0820a8d4ff2ab0c5ac009c365c /Build/source/utils/asymptote/path3.h
parenta01e51b01f5819b6091af48cdca581e9f2a9282e (diff)
asy 1.93
git-svn-id: svn://tug.org/texlive/trunk@17934 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/path3.h')
-rw-r--r--Build/source/utils/asymptote/path3.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/path3.h b/Build/source/utils/asymptote/path3.h
index de4b5489ad5..893d1df0aba 100644
--- a/Build/source/utils/asymptote/path3.h
+++ b/Build/source/utils/asymptote/path3.h
@@ -92,6 +92,14 @@ public:
box(p.box)
{}
+ path3 unstraighten() const
+ {
+ path3 P=path3(*this);
+ for(int i=0; i < n; ++i)
+ P.nodes[i].straight=false;
+ return P;
+ }
+
virtual ~path3()
{
}