3
3
<title>Ipelib: IpeBezier class Reference</title>
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
<!-- Generated by Doxygen 1.3.4 -->
6
<!-- Generated by Doxygen 1.3.6 -->
7
7
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="functions.html">Class Members</a></div>
8
8
<h1>IpeBezier Class Reference<br>
14
14
<a href="class_ipe_bezier-members.html">List of all members.</a><h2>Public Member Functions</h2>
16
16
<li><a class="el" href="class_ipe_bezier.html#a0">IpeBezier</a> ()
17
<li><a class="el" href="class_ipe_bezier.html#a1">IpeBezier</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &p0, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &p1, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &p2, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &p3)
17
<li><a class="el" href="class_ipe_bezier.html#a1">IpeBezier</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &p0, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &p1, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &p2, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &p3)
18
18
<li><a class="el" href="class_ipe_vector.html">IpeVector</a> <a class="el" href="class_ipe_bezier.html#a2">Point</a> (double t) const
19
<li>double <a class="el" href="class_ipe_bezier.html#a3">Distance</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &v, double bound)
19
<li>double <a class="el" href="class_ipe_bezier.html#a3">Distance</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &v, double bound)
20
20
<li>bool <a class="el" href="class_ipe_bezier.html#a4">Straight</a> (double precision) const
21
21
<li>void <a class="el" href="class_ipe_bezier.html#a5">Subdivide</a> (<a class="el" href="class_ipe_bezier.html">IpeBezier</a> &l, <a class="el" href="class_ipe_bezier.html">IpeBezier</a> &r) const
22
22
<li>void <a class="el" href="class_ipe_bezier.html#a6">Approximate</a> (double precision, std::vector< <a class="el" href="class_ipe_vector.html">IpeVector</a> > &result) const
23
23
<li><a class="el" href="class_ipe_rect.html">IpeRect</a> <a class="el" href="class_ipe_bezier.html#a7">BBox</a> () const
24
24
<li><a class="anchor" name="a8" doxytag="IpeBezier::Intersects" ></a>
25
bool <b>Intersects</b> (const <a class="el" href="class_ipe_line.html">IpeLine</a> &l, <a class="el" href="class_ipe_vector.html">IpeVector</a> &pt) const
25
bool <b>Intersects</b> (const <a class="el" href="class_ipe_line.html">IpeLine</a> &l, <a class="el" href="class_ipe_vector.html">IpeVector</a> &pt) const
26
26
<li><a class="anchor" name="a9" doxytag="IpeBezier::Intersects" ></a>
27
bool <b>Intersects</b> (const <a class="el" href="class_ipe_segment.html">IpeSegment</a> &l, <a class="el" href="class_ipe_vector.html">IpeVector</a> &pt) const
27
bool <b>Intersects</b> (const <a class="el" href="class_ipe_segment.html">IpeSegment</a> &l, <a class="el" href="class_ipe_vector.html">IpeVector</a> &pt) const
29
29
<h2>Static Public Member Functions</h2>
31
<li><a class="el" href="class_ipe_bezier.html">IpeBezier</a> <a class="el" href="class_ipe_bezier.html#e0">QuadBezier</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &p0, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &p1, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &p2)
32
<li>void <a class="el" href="class_ipe_bezier.html#e1">Spline</a> (int n, const <a class="el" href="class_ipe_vector.html">IpeVector</a> *v, std::vector< <a class="el" href="class_ipe_bezier.html">IpeBezier</a> > &result)
33
<li>void <a class="el" href="class_ipe_bezier.html#e2">ClosedSpline</a> (int n, const <a class="el" href="class_ipe_vector.html">IpeVector</a> *v, std::vector< <a class="el" href="class_ipe_bezier.html">IpeBezier</a> > &result)
31
<li><a class="el" href="class_ipe_bezier.html">IpeBezier</a> <a class="el" href="class_ipe_bezier.html#e0">QuadBezier</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &p0, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &p1, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &p2)
32
<li>void <a class="el" href="class_ipe_bezier.html#e1">Spline</a> (int n, const <a class="el" href="class_ipe_vector.html">IpeVector</a> *v, std::vector< <a class="el" href="class_ipe_bezier.html">IpeBezier</a> > &result)
33
<li>void <a class="el" href="class_ipe_bezier.html#e2">ClosedSpline</a> (int n, const <a class="el" href="class_ipe_vector.html">IpeVector</a> *v, std::vector< <a class="el" href="class_ipe_bezier.html">IpeBezier</a> > &result)
35
35
<h2>Public Attributes</h2>
83
83
<td class="mdname" nowrap> <em>p0</em>, </td>
86
<td class="md" nowrap align="right"></td>
88
88
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
89
89
<td class="mdname" nowrap> <em>p1</em>, </td>
92
<td class="md" nowrap align="right"></td>
94
94
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
95
95
<td class="mdname" nowrap> <em>p2</em>, </td>
98
<td class="md" nowrap align="right"></td>
100
100
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
101
101
<td class="mdname" nowrap> <em>p3</em></td>
346
346
<td class="mdname" nowrap> <em>p0</em>, </td>
349
<td class="md" nowrap align="right"></td>
351
351
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
352
352
<td class="mdname" nowrap> <em>p1</em>, </td>
355
<td class="md" nowrap align="right"></td>
357
357
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
358
358
<td class="mdname" nowrap> <em>p2</em></td>
392
392
<td class="mdname" nowrap> <em>n</em>, </td>
395
<td class="md" nowrap align="right"></td>
397
397
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> * </td>
398
398
<td class="mdname" nowrap> <em>v</em>, </td>
401
<td class="md" nowrap align="right"></td>
403
403
<td class="md" nowrap>std::vector< <a class="el" href="class_ipe_bezier.html">IpeBezier</a> > & </td>
404
404
<td class="mdname" nowrap> <em>result</em></td>
438
438
<td class="mdname" nowrap> <em>n</em>, </td>
441
<td class="md" nowrap align="right"></td>
443
443
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> * </td>
444
444
<td class="mdname" nowrap> <em>v</em>, </td>
447
<td class="md" nowrap align="right"></td>
449
449
<td class="md" nowrap>std::vector< <a class="el" href="class_ipe_bezier.html">IpeBezier</a> > & </td>
450
450
<td class="mdname" nowrap> <em>result</em></td>