|
| 1 | +<!DOCTYPE html> |
| 2 | +<!--[if IE]><![endif]--> |
| 3 | +<html> |
| 4 | + |
| 5 | + <head> |
| 6 | + <meta charset="utf-8"> |
| 7 | + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| 8 | + <title>Interface IPolylineEncoding<T> |
| 9 | + </title> |
| 10 | + <meta name="viewport" content="width=device-width"> |
| 11 | + <meta name="title" content="Interface IPolylineEncoding<T> |
| 12 | + "> |
| 13 | + <meta name="generator" content="docfx 2.10.0.0"> |
| 14 | + |
| 15 | + <link rel="shortcut icon" href="../favicon.ico"> |
| 16 | + <link rel="stylesheet" href="../styles/docfx.vendor.css"> |
| 17 | + <link rel="stylesheet" href="../styles/docfx.css"> |
| 18 | + <link rel="stylesheet" href="../styles/main.css"> |
| 19 | + <meta property="docfx:navrel" content="../toc.html"> |
| 20 | + <meta property="docfx:tocrel" content="toc.html"> |
| 21 | + |
| 22 | + </head> |
| 23 | + <body data-spy="scroll" data-target="#affix"> |
| 24 | + <div id="wrapper"> |
| 25 | + <header> |
| 26 | + |
| 27 | + <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation"> |
| 28 | + <div class="container"> |
| 29 | + <div class="navbar-header"> |
| 30 | + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar"> |
| 31 | + <span class="sr-only">Toggle navigation</span> |
| 32 | + <span class="icon-bar"></span> |
| 33 | + <span class="icon-bar"></span> |
| 34 | + <span class="icon-bar"></span> |
| 35 | + </button> |
| 36 | + |
| 37 | + <a class="navbar-brand" href="../index.html"> |
| 38 | + <img id="logo" class="svg" src="../logo.svg" alt=""> |
| 39 | + </a> |
| 40 | + </div> |
| 41 | + <div class="collapse navbar-collapse" id="navbar"> |
| 42 | + <form class="navbar-form navbar-right" role="search" id="search"> |
| 43 | + <div class="form-group"> |
| 44 | + <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off"> |
| 45 | + </div> |
| 46 | + </form> |
| 47 | + </div> |
| 48 | + </div> |
| 49 | + </nav> |
| 50 | + |
| 51 | + <div class="subnav navbar navbar-default"> |
| 52 | + <div class="container hide-when-search" id="breadcrumb"> |
| 53 | + <ul class="breadcrumb"> |
| 54 | + <li></li> |
| 55 | + </ul> |
| 56 | + </div> |
| 57 | + </div> |
| 58 | + </header> |
| 59 | + <div role="main" class="container body-content hide-when-search"> |
| 60 | + |
| 61 | + <div class="sidenav hide-when-search"> |
| 62 | + <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a> |
| 63 | + <div class="sidetoggle collapse" id="sidetoggle"> |
| 64 | + <div id="sidetoc"></div> |
| 65 | + </div> |
| 66 | + </div> |
| 67 | + <div class="article row grid-right"> |
| 68 | + <div class="col-md-10"> |
| 69 | + <article class="content wrap" id="_content"> |
| 70 | + |
| 71 | + |
| 72 | + <h1 id="Cloudikka_PolylineAlgorithm_Encoding_IPolylineEncoding_1" data-uid="Cloudikka.PolylineAlgorithm.Encoding.IPolylineEncoding`1">Interface IPolylineEncoding<T> |
| 73 | + </h1> |
| 74 | + <div class="markdown level0 summary"><p>Defines base interface for all polyline encodings</p> |
| 75 | +</div> |
| 76 | + <div class="markdown level0 conceptual"></div> |
| 77 | + <h6><strong>Namespace</strong>:Cloudikka.PolylineAlgorithm.Encoding</h6> |
| 78 | + <h6><strong>Assembly</strong>:Cloudikka.PolylineAlgorithm.dll</h6> |
| 79 | + <h5 id="Cloudikka_PolylineAlgorithm_Encoding_IPolylineEncoding_1_syntax">Syntax</h5> |
| 80 | + <div class="codewrapper"> |
| 81 | + <pre><code class="lang-csharp hljs">public interface IPolylineEncoding<T></code></pre> |
| 82 | + </div> |
| 83 | + <h5 class="typeParameters">Type Parameters</h5> |
| 84 | + <table class="table table-bordered table-striped table-condensed"> |
| 85 | + <thead> |
| 86 | + <tr> |
| 87 | + <th>Name</th> |
| 88 | + <th>Description</th> |
| 89 | + </tr> |
| 90 | + </thead> |
| 91 | + <tbody> |
| 92 | + <tr> |
| 93 | + <td><span class="parametername">T</span></td> |
| 94 | + <td>Desired type used to decode to and encode from</td> |
| 95 | + </tr> |
| 96 | + </tbody> |
| 97 | + </table> |
| 98 | + <h3 id="methods">Methods |
| 99 | + </h3> |
| 100 | + <span class="small pull-right mobile-hide"> |
| 101 | + <span class="divider">|</span> |
| 102 | + <a href="https://github.com/cloudikka/polyline-algorithm-csharp/new/alpha/src/Cloudikka.PolylineAlgorithm/apispec/new?filename=Cloudikka_PolylineAlgorithm_Encoding_IPolylineEncoding_1_Decode_System_String_.md&value=---%0Auid%3A%20Cloudikka.PolylineAlgorithm.Encoding.IPolylineEncoding%601.Decode(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| 103 | + </span> |
| 104 | + <span class="small pull-right mobile-hide"> |
| 105 | + <a href="https://github.com/cloudikka/polyline-algorithm-csharp/blob/alpha/src/Cloudikka.PolylineAlgorithm/Encoding/IPolylineEncoding.cs/#L23">View Source</a> |
| 106 | + </span> |
| 107 | + <a id="Cloudikka_PolylineAlgorithm_Encoding_IPolylineEncoding_1_Decode_" data-uid="Cloudikka.PolylineAlgorithm.Encoding.IPolylineEncoding`1.Decode*"></a> |
| 108 | + <h4 id="Cloudikka_PolylineAlgorithm_Encoding_IPolylineEncoding_1_Decode_System_String_" data-uid="Cloudikka.PolylineAlgorithm.Encoding.IPolylineEncoding`1.Decode(System.String)">Decode(String)</h4> |
| 109 | + <div class="markdown level1 summary"><p>Method performs decoding from polyline encoded <span class="xref">System.String</span> to <span class="xref">System.Collections.Generic.IEnumerable<T></span></p> |
| 110 | +</div> |
| 111 | + <div class="markdown level1 conceptual"></div> |
| 112 | + <h5 class="decalaration">Declaration</h5> |
| 113 | + <div class="codewrapper"> |
| 114 | + <pre><code class="lang-csharp hljs">IEnumerable<T> Decode(string source)</code></pre> |
| 115 | + </div> |
| 116 | + <h5 class="parameters">Parameters</h5> |
| 117 | + <table class="table table-bordered table-striped table-condensed"> |
| 118 | + <thead> |
| 119 | + <tr> |
| 120 | + <th>Type</th> |
| 121 | + <th>Name</th> |
| 122 | + <th>Description</th> |
| 123 | + </tr> |
| 124 | + </thead> |
| 125 | + <tbody> |
| 126 | + <tr> |
| 127 | + <td><span class="xref">System.String</span></td> |
| 128 | + <td><span class="parametername">source</span></td> |
| 129 | + <td><p>The <span class="xref">System.String</span> as polyline encoded source</p> |
| 130 | +</td> |
| 131 | + </tr> |
| 132 | + </tbody> |
| 133 | + </table> |
| 134 | + <h5 class="returns">Returns</h5> |
| 135 | + <table class="table table-bordered table-striped table-condensed"> |
| 136 | + <thead> |
| 137 | + <tr> |
| 138 | + <th>Type</th> |
| 139 | + <th>Description</th> |
| 140 | + </tr> |
| 141 | + </thead> |
| 142 | + <tbody> |
| 143 | + <tr> |
| 144 | + <td><span class="xref">System.Collections.Generic.IEnumerable</span><T></td> |
| 145 | + <td><p>The <span class="xref">System.Collections.Generic.IEnumerable<T></span></p> |
| 146 | +</td> |
| 147 | + </tr> |
| 148 | + </tbody> |
| 149 | + </table> |
| 150 | + <span class="small pull-right mobile-hide"> |
| 151 | + <span class="divider">|</span> |
| 152 | + <a href="https://github.com/cloudikka/polyline-algorithm-csharp/new/alpha/src/Cloudikka.PolylineAlgorithm/apispec/new?filename=Cloudikka_PolylineAlgorithm_Encoding_IPolylineEncoding_1_Encode_System_Collections_Generic_IEnumerable__0__.md&value=---%0Auid%3A%20Cloudikka.PolylineAlgorithm.Encoding.IPolylineEncoding%601.Encode(System.Collections.Generic.IEnumerable%7B%600%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| 153 | + </span> |
| 154 | + <span class="small pull-right mobile-hide"> |
| 155 | + <a href="https://github.com/cloudikka/polyline-algorithm-csharp/blob/alpha/src/Cloudikka.PolylineAlgorithm/Encoding/IPolylineEncoding.cs/#L30">View Source</a> |
| 156 | + </span> |
| 157 | + <a id="Cloudikka_PolylineAlgorithm_Encoding_IPolylineEncoding_1_Encode_" data-uid="Cloudikka.PolylineAlgorithm.Encoding.IPolylineEncoding`1.Encode*"></a> |
| 158 | + <h4 id="Cloudikka_PolylineAlgorithm_Encoding_IPolylineEncoding_1_Encode_System_Collections_Generic_IEnumerable__0__" data-uid="Cloudikka.PolylineAlgorithm.Encoding.IPolylineEncoding`1.Encode(System.Collections.Generic.IEnumerable{`0})">Encode(IEnumerable<T>)</h4> |
| 159 | + <div class="markdown level1 summary"><p>Method performs encoding from generic type to polyline encoded <span class="xref">System.String</span></p> |
| 160 | +</div> |
| 161 | + <div class="markdown level1 conceptual"></div> |
| 162 | + <h5 class="decalaration">Declaration</h5> |
| 163 | + <div class="codewrapper"> |
| 164 | + <pre><code class="lang-csharp hljs">string Encode(IEnumerable<T> source)</code></pre> |
| 165 | + </div> |
| 166 | + <h5 class="parameters">Parameters</h5> |
| 167 | + <table class="table table-bordered table-striped table-condensed"> |
| 168 | + <thead> |
| 169 | + <tr> |
| 170 | + <th>Type</th> |
| 171 | + <th>Name</th> |
| 172 | + <th>Description</th> |
| 173 | + </tr> |
| 174 | + </thead> |
| 175 | + <tbody> |
| 176 | + <tr> |
| 177 | + <td><span class="xref">System.Collections.Generic.IEnumerable</span><T></td> |
| 178 | + <td><span class="parametername">source</span></td> |
| 179 | + <td><p>Coordinates to encode</p> |
| 180 | +</td> |
| 181 | + </tr> |
| 182 | + </tbody> |
| 183 | + </table> |
| 184 | + <h5 class="returns">Returns</h5> |
| 185 | + <table class="table table-bordered table-striped table-condensed"> |
| 186 | + <thead> |
| 187 | + <tr> |
| 188 | + <th>Type</th> |
| 189 | + <th>Description</th> |
| 190 | + </tr> |
| 191 | + </thead> |
| 192 | + <tbody> |
| 193 | + <tr> |
| 194 | + <td><span class="xref">System.String</span></td> |
| 195 | + <td><p>Polyline encoded result</p> |
| 196 | +</td> |
| 197 | + </tr> |
| 198 | + </tbody> |
| 199 | + </table> |
| 200 | + </article> |
| 201 | + </div> |
| 202 | + |
| 203 | + <div class="hidden-sm col-md-2" role="complementary"> |
| 204 | + <div class="sideaffix"> |
| 205 | + <div class="contribution"> |
| 206 | + <ul class="nav"> |
| 207 | + <li> |
| 208 | + <a href="https://github.com/cloudikka/polyline-algorithm-csharp/new/alpha/src/Cloudikka.PolylineAlgorithm/apispec/new?filename=Cloudikka_PolylineAlgorithm_Encoding_IPolylineEncoding_1.md&value=---%0Auid%3A%20Cloudikka.PolylineAlgorithm.Encoding.IPolylineEncoding%601%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a> |
| 209 | + </li> |
| 210 | + <li> |
| 211 | + <a href="https://github.com/cloudikka/polyline-algorithm-csharp/blob/alpha/src/Cloudikka.PolylineAlgorithm/Encoding/IPolylineEncoding.cs/#L15" class="contribution-link">View Source</a> |
| 212 | + </li> |
| 213 | + </ul> |
| 214 | + </div> |
| 215 | + <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix"> |
| 216 | + <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> --> |
| 217 | + </nav> |
| 218 | + </div> |
| 219 | + </div> |
| 220 | + </div> |
| 221 | + </div> |
| 222 | + |
| 223 | + <footer> |
| 224 | + <div class="grad-bottom"></div> |
| 225 | + <div class="footer"> |
| 226 | + <div class="container"> |
| 227 | + <span class="pull-right"> |
| 228 | + <a href="#top">Back to top</a> |
| 229 | + </span> |
| 230 | + |
| 231 | + <span>Copyright © 2015-2016 Microsoft<br>Generated by <strong>DocFX</strong></span> |
| 232 | + </div> |
| 233 | + </div> |
| 234 | + </footer> |
| 235 | + </div> |
| 236 | + |
| 237 | + <script type="text/javascript" src="../styles/docfx.vendor.js"></script> |
| 238 | + <script type="text/javascript" src="../styles/docfx.js"></script> |
| 239 | + <script type="text/javascript" src="../styles/main.js"></script> |
| 240 | + </body> |
| 241 | +</html> |
0 commit comments