Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 356 | chris | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 | <!--NewPage--> |
||
| 3 | <HTML> |
||
| 4 | <HEAD> |
||
| 5 | <!-- Generated by javadoc (build 1.6.0_26) on Sun Jan 27 20:37:06 CET 2013 --> |
||
| 6 | <TITLE> |
||
| 7 | CatmullRomSpline (libgdx API) |
||
| 8 | </TITLE> |
||
| 9 | |||
| 10 | <META NAME="date" CONTENT="2013-01-27"> |
||
| 11 | |||
| 12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
||
| 13 | |||
| 14 | <SCRIPT type="text/javascript"> |
||
| 15 | function windowTitle() |
||
| 16 | { |
||
| 17 | if (location.href.indexOf('is-external=true') == -1) { |
||
| 18 | parent.document.title="CatmullRomSpline (libgdx API)"; |
||
| 19 | } |
||
| 20 | } |
||
| 21 | </SCRIPT> |
||
| 22 | <NOSCRIPT> |
||
| 23 | </NOSCRIPT> |
||
| 24 | |||
| 25 | </HEAD> |
||
| 26 | |||
| 27 | <BODY BGCOLOR="white" onload="windowTitle();"> |
||
| 28 | <HR> |
||
| 29 | |||
| 30 | |||
| 31 | <!-- ========= START OF TOP NAVBAR ======= --> |
||
| 32 | <A NAME="navbar_top"><!-- --></A> |
||
| 33 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
||
| 34 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
| 35 | <TR> |
||
| 36 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
| 37 | <A NAME="navbar_top_firstrow"><!-- --></A> |
||
| 38 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
| 39 | <TR ALIGN="center" VALIGN="top"> |
||
| 40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
| 42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
| 43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CatmullRomSpline.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
| 44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
| 45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
| 46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
| 47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
| 48 | </TR> |
||
| 49 | </TABLE> |
||
| 50 | </TD> |
||
| 51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
| 52 | |||
| 53 | libgdx API |
||
| 54 | <style> |
||
| 55 | body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt } |
||
| 56 | pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif } |
||
| 57 | h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%; font-weight:bold } |
||
| 58 | .TableHeadingColor { background:#EEEEFF; } |
||
| 59 | a { text-decoration:none } |
||
| 60 | a:hover { text-decoration:underline } |
||
| 61 | a:link, a:visited { color:blue } |
||
| 62 | table { border:0px } |
||
| 63 | .TableRowColor td:first-child { border-left:1px solid black } |
||
| 64 | .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black } |
||
| 65 | hr { border:0px; border-bottom:1px solid #333366; } |
||
| 66 | </style> |
||
| 67 | </EM> |
||
| 68 | </TD> |
||
| 69 | </TR> |
||
| 70 | |||
| 71 | <TR> |
||
| 72 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 73 | PREV CLASS |
||
| 74 | <A HREF="../../../../com/badlogic/gdx/math/Circle.html" title="class in com.badlogic.gdx.math"><B>NEXT CLASS</B></A></FONT></TD> |
||
| 75 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 76 | <A HREF="../../../../index.html?com/badlogic/gdx/math/CatmullRomSpline.html" target="_top"><B>FRAMES</B></A> |
||
| 77 | <A HREF="CatmullRomSpline.html" target="_top"><B>NO FRAMES</B></A> |
||
| 78 | <SCRIPT type="text/javascript"> |
||
| 79 | <!-- |
||
| 80 | if(window==top) { |
||
| 81 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
||
| 82 | } |
||
| 83 | //--> |
||
| 84 | </SCRIPT> |
||
| 85 | <NOSCRIPT> |
||
| 86 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
| 87 | </NOSCRIPT> |
||
| 88 | |||
| 89 | |||
| 90 | </FONT></TD> |
||
| 91 | </TR> |
||
| 92 | <TR> |
||
| 93 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 94 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
| 95 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 96 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
| 97 | </TR> |
||
| 98 | </TABLE> |
||
| 99 | <A NAME="skip-navbar_top"></A> |
||
| 100 | <!-- ========= END OF TOP NAVBAR ========= --> |
||
| 101 | |||
| 102 | <HR> |
||
| 103 | <!-- ======== START OF CLASS DATA ======== --> |
||
| 104 | <H2> |
||
| 105 | <FONT SIZE="-1"> |
||
| 106 | com.badlogic.gdx.math</FONT> |
||
| 107 | <BR> |
||
| 108 | Class CatmullRomSpline</H2> |
||
| 109 | <PRE> |
||
| 110 | java.lang.Object |
||
| 111 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.math.CatmullRomSpline</B> |
||
| 112 | </PRE> |
||
| 113 | <DL> |
||
| 114 | <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD> |
||
| 115 | </DL> |
||
| 116 | <HR> |
||
| 117 | <DL> |
||
| 118 | <DT><PRE>public class <B>CatmullRomSpline</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL> |
||
| 119 | </PRE> |
||
| 120 | |||
| 121 | <P> |
||
| 122 | Encapsulates a catmull rom spline with n control points, n >= 4. For more information on this type of spline see |
||
| 123 | http://www.mvps.org/directx/articles/catmull/. |
||
| 124 | <P> |
||
| 125 | |||
| 126 | <P> |
||
| 127 | <DL> |
||
| 128 | <DT><B>Author:</B></DT> |
||
| 129 | <DD>badlogicgames@gmail.com</DD> |
||
| 130 | <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#com.badlogic.gdx.math.CatmullRomSpline">Serialized Form</A></DL> |
||
| 131 | <HR> |
||
| 132 | |||
| 133 | <P> |
||
| 134 | |||
| 135 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
||
| 136 | |||
| 137 | <A NAME="constructor_summary"><!-- --></A> |
||
| 138 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 139 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 140 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
| 141 | <B>Constructor Summary</B></FONT></TH> |
||
| 142 | </TR> |
||
| 143 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 144 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/CatmullRomSpline.html#CatmullRomSpline()">CatmullRomSpline</A></B>()</CODE> |
||
| 145 | |||
| 146 | <BR> |
||
| 147 | </TD> |
||
| 148 | </TR> |
||
| 149 | </TABLE> |
||
| 150 | |
||
| 151 | <!-- ========== METHOD SUMMARY =========== --> |
||
| 152 | |||
| 153 | <A NAME="method_summary"><!-- --></A> |
||
| 154 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 155 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 156 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
| 157 | <B>Method Summary</B></FONT></TH> |
||
| 158 | </TR> |
||
| 159 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 160 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 161 | <CODE> void</CODE></FONT></TD> |
||
| 162 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/CatmullRomSpline.html#add(com.badlogic.gdx.math.Vector3)">add</A></B>(<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A> point)</CODE> |
||
| 163 | |||
| 164 | <BR> |
||
| 165 | Adds a new control point</TD> |
||
| 166 | </TR> |
||
| 167 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 168 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 169 | <CODE> java.util.List<<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>></CODE></FONT></TD> |
||
| 170 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/CatmullRomSpline.html#getControlPoints()">getControlPoints</A></B>()</CODE> |
||
| 171 | |||
| 172 | <BR> |
||
| 173 | </TD> |
||
| 174 | </TR> |
||
| 175 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 176 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 177 | <CODE> java.util.List<<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>></CODE></FONT></TD> |
||
| 178 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/CatmullRomSpline.html#getPath(int)">getPath</A></B>(int numPoints)</CODE> |
||
| 179 | |||
| 180 | <BR> |
||
| 181 | Returns a path, between every two control points numPoints are generated and the control points themselves are added too.</TD> |
||
| 182 | </TR> |
||
| 183 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 184 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 185 | <CODE> void</CODE></FONT></TD> |
||
| 186 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/CatmullRomSpline.html#getPath(com.badlogic.gdx.math.Vector3[], int)">getPath</A></B>(<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>[] points, |
||
| 187 | int numPoints)</CODE> |
||
| 188 | |||
| 189 | <BR> |
||
| 190 | Returns a path, between every two control points numPoints are generated and the control points themselves are added too.</TD> |
||
| 191 | </TR> |
||
| 192 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 193 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 194 | <CODE> java.util.List<<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>></CODE></FONT></TD> |
||
| 195 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/CatmullRomSpline.html#getTangentNormals(int, java.util.List)">getTangentNormals</A></B>(int numPoints, |
||
| 196 | java.util.List<<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>> up)</CODE> |
||
| 197 | |||
| 198 | <BR> |
||
| 199 | </TD> |
||
| 200 | </TR> |
||
| 201 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 202 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 203 | <CODE> java.util.List<<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>></CODE></FONT></TD> |
||
| 204 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/CatmullRomSpline.html#getTangentNormals(int, com.badlogic.gdx.math.Vector3)">getTangentNormals</A></B>(int numPoints, |
||
| 205 | <A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A> up)</CODE> |
||
| 206 | |||
| 207 | <BR> |
||
| 208 | Returns the tangent's normals using the tangent and provided up vector doing a cross product.</TD> |
||
| 209 | </TR> |
||
| 210 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 211 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 212 | <CODE> java.util.List<<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>></CODE></FONT></TD> |
||
| 213 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/CatmullRomSpline.html#getTangentNormals2D(int)">getTangentNormals2D</A></B>(int numPoints)</CODE> |
||
| 214 | |||
| 215 | <BR> |
||
| 216 | Returns all tangent's normals in 2D space for the points in a path.</TD> |
||
| 217 | </TR> |
||
| 218 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 219 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 220 | <CODE> java.util.List<<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>></CODE></FONT></TD> |
||
| 221 | <TD><CODE><B><A HREF="../../../../com/badlogic/gdx/math/CatmullRomSpline.html#getTangents(int)">getTangents</A></B>(int numPoints)</CODE> |
||
| 222 | |||
| 223 | <BR> |
||
| 224 | Returns all tangents for the points in a path.</TD> |
||
| 225 | </TR> |
||
| 226 | </TABLE> |
||
| 227 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
||
| 228 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 229 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
| 230 | <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
||
| 231 | </TR> |
||
| 232 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 233 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
||
| 234 | </TR> |
||
| 235 | </TABLE> |
||
| 236 | |
||
| 237 | <P> |
||
| 238 | |||
| 239 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
||
| 240 | |||
| 241 | <A NAME="constructor_detail"><!-- --></A> |
||
| 242 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 243 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 244 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 245 | <B>Constructor Detail</B></FONT></TH> |
||
| 246 | </TR> |
||
| 247 | </TABLE> |
||
| 248 | |||
| 249 | <A NAME="CatmullRomSpline()"><!-- --></A><H3> |
||
| 250 | CatmullRomSpline</H3> |
||
| 251 | <PRE> |
||
| 252 | public <B>CatmullRomSpline</B>()</PRE> |
||
| 253 | <DL> |
||
| 254 | </DL> |
||
| 255 | |||
| 256 | <!-- ============ METHOD DETAIL ========== --> |
||
| 257 | |||
| 258 | <A NAME="method_detail"><!-- --></A> |
||
| 259 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 260 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 261 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 262 | <B>Method Detail</B></FONT></TH> |
||
| 263 | </TR> |
||
| 264 | </TABLE> |
||
| 265 | |||
| 266 | <A NAME="add(com.badlogic.gdx.math.Vector3)"><!-- --></A><H3> |
||
| 267 | add</H3> |
||
| 268 | <PRE> |
||
| 269 | public void <B>add</B>(<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A> point)</PRE> |
||
| 270 | <DL> |
||
| 271 | <DD>Adds a new control point |
||
| 272 | <P> |
||
| 273 | <DD><DL> |
||
| 274 | </DL> |
||
| 275 | </DD> |
||
| 276 | <DD><DL> |
||
| 277 | <DT><B>Parameters:</B><DD><CODE>point</CODE> - the point</DL> |
||
| 278 | </DD> |
||
| 279 | </DL> |
||
| 280 | <HR> |
||
| 281 | |||
| 282 | <A NAME="getControlPoints()"><!-- --></A><H3> |
||
| 283 | getControlPoints</H3> |
||
| 284 | <PRE> |
||
| 285 | public java.util.List<<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>> <B>getControlPoints</B>()</PRE> |
||
| 286 | <DL> |
||
| 287 | <DD><DL> |
||
| 288 | </DL> |
||
| 289 | </DD> |
||
| 290 | <DD><DL> |
||
| 291 | |||
| 292 | <DT><B>Returns:</B><DD>all control points</DL> |
||
| 293 | </DD> |
||
| 294 | </DL> |
||
| 295 | <HR> |
||
| 296 | |||
| 297 | <A NAME="getPath(int)"><!-- --></A><H3> |
||
| 298 | getPath</H3> |
||
| 299 | <PRE> |
||
| 300 | public java.util.List<<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>> <B>getPath</B>(int numPoints)</PRE> |
||
| 301 | <DL> |
||
| 302 | <DD>Returns a path, between every two control points numPoints are generated and the control points themselves are added too. |
||
| 303 | The first and the last controlpoint are omitted. if there's less than 4 controlpoints an empty path is returned. |
||
| 304 | <P> |
||
| 305 | <DD><DL> |
||
| 306 | </DL> |
||
| 307 | </DD> |
||
| 308 | <DD><DL> |
||
| 309 | <DT><B>Parameters:</B><DD><CODE>numPoints</CODE> - number of points returned for a segment |
||
| 310 | <DT><B>Returns:</B><DD>the path</DL> |
||
| 311 | </DD> |
||
| 312 | </DL> |
||
| 313 | <HR> |
||
| 314 | |||
| 315 | <A NAME="getPath(com.badlogic.gdx.math.Vector3[], int)"><!-- --></A><H3> |
||
| 316 | getPath</H3> |
||
| 317 | <PRE> |
||
| 318 | public void <B>getPath</B>(<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>[] points, |
||
| 319 | int numPoints)</PRE> |
||
| 320 | <DL> |
||
| 321 | <DD>Returns a path, between every two control points numPoints are generated and the control points themselves are added too. |
||
| 322 | The first and the last controlpoint are omitted. if there's less than 4 controlpoints an empty path is returned. |
||
| 323 | <P> |
||
| 324 | <DD><DL> |
||
| 325 | </DL> |
||
| 326 | </DD> |
||
| 327 | <DD><DL> |
||
| 328 | <DT><B>Parameters:</B><DD><CODE>points</CODE> - the array of Vector3 instances to store the path in<DD><CODE>numPoints</CODE> - number of points returned for a segment</DL> |
||
| 329 | </DD> |
||
| 330 | </DL> |
||
| 331 | <HR> |
||
| 332 | |||
| 333 | <A NAME="getTangents(int)"><!-- --></A><H3> |
||
| 334 | getTangents</H3> |
||
| 335 | <PRE> |
||
| 336 | public java.util.List<<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>> <B>getTangents</B>(int numPoints)</PRE> |
||
| 337 | <DL> |
||
| 338 | <DD>Returns all tangents for the points in a path. Same semantics as getPath. |
||
| 339 | <P> |
||
| 340 | <DD><DL> |
||
| 341 | </DL> |
||
| 342 | </DD> |
||
| 343 | <DD><DL> |
||
| 344 | <DT><B>Parameters:</B><DD><CODE>numPoints</CODE> - number of points returned for a segment |
||
| 345 | <DT><B>Returns:</B><DD>the tangents of the points in the path</DL> |
||
| 346 | </DD> |
||
| 347 | </DL> |
||
| 348 | <HR> |
||
| 349 | |||
| 350 | <A NAME="getTangentNormals2D(int)"><!-- --></A><H3> |
||
| 351 | getTangentNormals2D</H3> |
||
| 352 | <PRE> |
||
| 353 | public java.util.List<<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>> <B>getTangentNormals2D</B>(int numPoints)</PRE> |
||
| 354 | <DL> |
||
| 355 | <DD>Returns all tangent's normals in 2D space for the points in a path. The controlpoints have to lie in the x/y plane for this |
||
| 356 | to work. Same semantics as getPath. |
||
| 357 | <P> |
||
| 358 | <DD><DL> |
||
| 359 | </DL> |
||
| 360 | </DD> |
||
| 361 | <DD><DL> |
||
| 362 | <DT><B>Parameters:</B><DD><CODE>numPoints</CODE> - number of points returned for a segment |
||
| 363 | <DT><B>Returns:</B><DD>the tangents of the points in the path</DL> |
||
| 364 | </DD> |
||
| 365 | </DL> |
||
| 366 | <HR> |
||
| 367 | |||
| 368 | <A NAME="getTangentNormals(int, com.badlogic.gdx.math.Vector3)"><!-- --></A><H3> |
||
| 369 | getTangentNormals</H3> |
||
| 370 | <PRE> |
||
| 371 | public java.util.List<<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>> <B>getTangentNormals</B>(int numPoints, |
||
| 372 | <A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A> up)</PRE> |
||
| 373 | <DL> |
||
| 374 | <DD>Returns the tangent's normals using the tangent and provided up vector doing a cross product. |
||
| 375 | <P> |
||
| 376 | <DD><DL> |
||
| 377 | </DL> |
||
| 378 | </DD> |
||
| 379 | <DD><DL> |
||
| 380 | <DT><B>Parameters:</B><DD><CODE>numPoints</CODE> - number of points per segment<DD><CODE>up</CODE> - up vector |
||
| 381 | <DT><B>Returns:</B><DD>a list of tangent normals</DL> |
||
| 382 | </DD> |
||
| 383 | </DL> |
||
| 384 | <HR> |
||
| 385 | |||
| 386 | <A NAME="getTangentNormals(int, java.util.List)"><!-- --></A><H3> |
||
| 387 | getTangentNormals</H3> |
||
| 388 | <PRE> |
||
| 389 | public java.util.List<<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>> <B>getTangentNormals</B>(int numPoints, |
||
| 390 | java.util.List<<A HREF="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</A>> up)</PRE> |
||
| 391 | <DL> |
||
| 392 | <DD><DL> |
||
| 393 | </DL> |
||
| 394 | </DD> |
||
| 395 | <DD><DL> |
||
| 396 | </DL> |
||
| 397 | </DD> |
||
| 398 | </DL> |
||
| 399 | <!-- ========= END OF CLASS DATA ========= --> |
||
| 400 | <HR> |
||
| 401 | |||
| 402 | |||
| 403 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
||
| 404 | <A NAME="navbar_bottom"><!-- --></A> |
||
| 405 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
||
| 406 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
| 407 | <TR> |
||
| 408 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
| 409 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
||
| 410 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
| 411 | <TR ALIGN="center" VALIGN="top"> |
||
| 412 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
| 413 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
| 414 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
| 415 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CatmullRomSpline.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
| 416 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
| 417 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
| 418 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
| 419 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
| 420 | </TR> |
||
| 421 | </TABLE> |
||
| 422 | </TD> |
||
| 423 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
| 424 | libgdx API</EM> |
||
| 425 | </TD> |
||
| 426 | </TR> |
||
| 427 | |||
| 428 | <TR> |
||
| 429 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 430 | PREV CLASS |
||
| 431 | <A HREF="../../../../com/badlogic/gdx/math/Circle.html" title="class in com.badlogic.gdx.math"><B>NEXT CLASS</B></A></FONT></TD> |
||
| 432 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 433 | <A HREF="../../../../index.html?com/badlogic/gdx/math/CatmullRomSpline.html" target="_top"><B>FRAMES</B></A> |
||
| 434 | <A HREF="CatmullRomSpline.html" target="_top"><B>NO FRAMES</B></A> |
||
| 435 | <SCRIPT type="text/javascript"> |
||
| 436 | <!-- |
||
| 437 | if(window==top) { |
||
| 438 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
||
| 439 | } |
||
| 440 | //--> |
||
| 441 | </SCRIPT> |
||
| 442 | <NOSCRIPT> |
||
| 443 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
| 444 | </NOSCRIPT> |
||
| 445 | |||
| 446 | |||
| 447 | </FONT></TD> |
||
| 448 | </TR> |
||
| 449 | <TR> |
||
| 450 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 451 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
| 452 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 453 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
| 454 | </TR> |
||
| 455 | </TABLE> |
||
| 456 | <A NAME="skip-navbar_bottom"></A> |
||
| 457 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
||
| 458 | |||
| 459 | <HR> |
||
| 460 | |||
| 461 | <div style="font-size:9pt"><i> |
||
| 462 | Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) |
||
| 463 | </i></div> |
||
| 464 | |||
| 465 | </BODY> |
||
| 466 | </HTML> |