1<html> 2 3<head> 4 5 <script type="text/javascript" src="../../../../Scripts/jquery.js"> 6 </script> 7 8 <script type="text/javascript" src="../../../../Scripts/SyntaxHighlighter/scripts/shCore.js"> 9 </script> 10 11 <script type="text/javascript" src="../../../../Scripts/SyntaxHighlighter/scripts/shBrushDelphi.js"> 12 </script> 13 14 <script type="text/javascript" src="../../../../Scripts/SyntaxHighlighter/scripts/shBrushCpp.js"> 15 </script> 16 17 <script type="text/javascript" src="../../../../Scripts/SyntaxHighlighter/scripts/shBrushCSharp.js"> 18 </script> 19 20 <link type="text/css" rel="stylesheet" href="../../../../Scripts/SyntaxHighlighter/styles/shCoreDefault.css"> 21 22 <link type="text/css" rel="stylesheet" href="../../../../Scripts/SyntaxHighlighter/styles/shThemeDefault.css"> 23 24 25 <title>Path</title> 26 27 <link rel="stylesheet" href="../../../../Styles/default.css" type="text/css"> 28 29 30 <script type="text/javascript" src="../../../../Scripts/bootstrap.js"> 31 </script> 32 33</head> 34 35<body bgcolor="#FFFFFF"> 36 37 <!-- THIS FILE HAS BEEN AUTOMATICALLY PROCESSED FROM A SOURCE COPY --> 38 39 <!-- DO NOT EDIT MANUALLY !!! --> 40 41 <table class="Banner" cellspacing="0" cellpadding="0" border="1" bordercolorlight="#303080" bordercolordark="#7070B0"> 42 <tr> 43 <td class="Banner" nowrap=""><a href="../../../_Body.htm" class="Banner"><img src="../../../../Images/_Home.gif" align="absmiddle">Home</a> 44 </td> 45 <td class="Banner" nowrap=""><a href="../_Body.htm" class="Banner"><img src="../../../../Images/_Unit.gif" align="absmiddle">ClipperLib</a> 46 </td> 47 <td class="Banner" width="100%" align="right"><img src="../../../../Images/_Project_Logo.gif" align="absmiddle"> 48 </td> 49 </tr> 50 </table> 51 <h1>Path</h1> 52 53 <p class="Decl"><span class="Comment">Del.»</span> TPath = <b>array of</b> TIntPoint;</p> 54 55 <p class="Decl2"><span class="Comment">C++ »</span> <b>typedef</b> std::vector<IntPoint> Path;</p> 56 57 <p class="Decl3"><span class="Comment">C# »</span> <b>using</b> Path = List<IntPoint>;</p> 58<br> 59 60 <p class="Body"> This structure contains a sequence of <a href="./IntPoint.htm">IntPoint</a> vertices defining <span class="maroon">a single contour</span> (see also <a href="../../../Overview/_Body.htm#terminology">terminology</a>). Paths may be <em>open</em> and represent a series of line segments bounded by 2 or more vertices, or they may be <em>closed</em> and represent polygons. Whether or not a path is open depends on context. <em>Closed</em> paths may be '<em>outer</em>' contours or '<em>hole</em>' contours. Which they are depends on orientation.<br><br> Multiple paths can be grouped into a <a href="./Paths.htm">Paths</a> structure.<br><br> </p> 61 62 <h2 id="Auto-SeeAlso">See Also</h2> 63 <p class="Body"><a href="../../../Overview/_Body.htm">Overview</a>, <a href="../../../Overview/Example.htm">Example</a>, <a href="../Classes/ClipperBase/Methods/AddPath.htm">ClipperBase.AddPath</a>, <a href="../Classes/PolyTree/_Body.htm">PolyTree</a>, <a href="../Functions/Orientation.htm">Orientation</a>, <a href="IntPoint.htm">IntPoint</a>, <a href="Paths.htm">Paths</a></p> 64 65 <p class="Copyright" id="auto"> <br><br> Copyright ©2010-2014 Angus Johnson - Clipper 6.2.1 - Help file built on 1-November-2014 <br><br> </p> 66 67</body> 68 69</html>