comparison libs/commons-math-2.1/docs/apidocs/org/apache/commons/math/geometry/Vector3DFormat.html @ 15:878723cc40fb

commons-math-2.1 added
author dwinter
date Tue, 04 Jan 2011 10:02:41 +0100
parents
children
comparison
equal deleted inserted replaced
14:d6bddffc2fbb 15:878723cc40fb
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_17) on Sat Mar 27 22:46:12 EDT 2010 -->
6 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <TITLE>
8 Vector3DFormat (Commons Math 2.1 API)
9 </TITLE>
10
11 <META NAME="date" CONTENT="2010-03-27">
12
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
14
15 <SCRIPT type="text/javascript">
16 function windowTitle()
17 {
18 if (location.href.indexOf('is-external=true') == -1) {
19 parent.document.title="Vector3DFormat (Commons Math 2.1 API)";
20 }
21 }
22 </SCRIPT>
23 <NOSCRIPT>
24 </NOSCRIPT>
25
26 </HEAD>
27
28 <BODY BGCOLOR="white" onload="windowTitle();">
29 <HR>
30
31
32 <!-- ========= START OF TOP NAVBAR ======= -->
33 <A NAME="navbar_top"><!-- --></A>
34 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36 <TR>
37 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38 <A NAME="navbar_top_firstrow"><!-- --></A>
39 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40 <TR ALIGN="center" VALIGN="top">
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Vector3DFormat.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
49 </TR>
50 </TABLE>
51 </TD>
52 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
53 </EM>
54 </TD>
55 </TR>
56
57 <TR>
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59 &nbsp;<A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry"><B>PREV CLASS</B></A>&nbsp;
60 &nbsp;NEXT CLASS</FONT></TD>
61 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
62 <A HREF="../../../../../index.html?org/apache/commons/math/geometry/Vector3DFormat.html" target="_top"><B>FRAMES</B></A> &nbsp;
63 &nbsp;<A HREF="Vector3DFormat.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
64 &nbsp;<SCRIPT type="text/javascript">
65 <!--
66 if(window==top) {
67 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
68 }
69 //-->
70 </SCRIPT>
71 <NOSCRIPT>
72 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
73 </NOSCRIPT>
74
75
76 </FONT></TD>
77 </TR>
78 <TR>
79 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80 SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_java.text.Format">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
81 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
82 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
83 </TR>
84 </TABLE>
85 <A NAME="skip-navbar_top"></A>
86 <!-- ========= END OF TOP NAVBAR ========= -->
87
88 <HR>
89 <!-- ======== START OF CLASS DATA ======== -->
90 <H2>
91 <FONT SIZE="-1">
92 org.apache.commons.math.geometry</FONT>
93 <BR>
94 Class Vector3DFormat</H2>
95 <PRE>
96 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
97 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true" title="class or interface in java.text">java.text.Format</A>
98 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html" title="class in org.apache.commons.math.util">org.apache.commons.math.util.CompositeFormat</A>
99 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.commons.math.geometry.Vector3DFormat</B>
100 </PRE>
101 <DL>
102 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A></DD>
103 </DL>
104 <HR>
105 <DL>
106 <DT><PRE>public class <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.42"><B>Vector3DFormat</B></A><DT>extends <A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html" title="class in org.apache.commons.math.util">CompositeFormat</A></DL>
107 </PRE>
108
109 <P>
110 Formats a 3D vector in components list format "{x; y; z}".
111 <p>The prefix and suffix "{" and "}" and the separator "; " can be replaced by
112 any user-defined strings. The number format for components can be configured.</p>
113 <p>White space is ignored at parse time, even if it is in the prefix, suffix
114 or separator specifications. So even if the default separator does include a space
115 character that is used at format time, both input string "{1;1;1}" and
116 " { 1 ; 1 ; 1 } " will be parsed without error and the same vector will be
117 returned. In the second case, however, the parse position after parsing will be
118 just after the closing curly brace, i.e. just before the trailing space.</p>
119 <P>
120
121 <P>
122 <DL>
123 <DT><B>Version:</B></DT>
124 <DD>$Revision: 772119 $ $Date: 2009-05-06 05:43:28 -0400 (Wed, 06 May 2009) $</DD>
125 <DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#org.apache.commons.math.geometry.Vector3DFormat">Serialized Form</A></DL>
126 <HR>
127
128 <P>
129 <!-- ======== NESTED CLASS SUMMARY ======== -->
130
131 <A NAME="nested_class_summary"><!-- --></A>
132 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
133 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
134 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
135 <B>Nested Class Summary</B></FONT></TH>
136 </TR>
137 </TABLE>
138 &nbsp;<A NAME="nested_classes_inherited_from_class_java.text.Format"><!-- --></A>
139 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
140 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
141 <TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.text.<A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true" title="class or interface in java.text">Format</A></B></TH>
142 </TR>
143 <TR BGCOLOR="white" CLASS="TableRowColor">
144 <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.Field.html?is-external=true" title="class or interface in java.text">Format.Field</A></CODE></TD>
145 </TR>
146 </TABLE>
147 &nbsp;
148
149 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
150
151 <A NAME="constructor_summary"><!-- --></A>
152 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
153 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
154 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
155 <B>Constructor Summary</B></FONT></TH>
156 </TR>
157 <TR BGCOLOR="white" CLASS="TableRowColor">
158 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html#Vector3DFormat()">Vector3DFormat</A></B>()</CODE>
159
160 <BR>
161 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an instance with default settings.</TD>
162 </TR>
163 <TR BGCOLOR="white" CLASS="TableRowColor">
164 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html#Vector3DFormat(java.text.NumberFormat)">Vector3DFormat</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/text/NumberFormat.html?is-external=true" title="class or interface in java.text">NumberFormat</A>&nbsp;format)</CODE>
165
166 <BR>
167 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an instance with a custom number format for components.</TD>
168 </TR>
169 <TR BGCOLOR="white" CLASS="TableRowColor">
170 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html#Vector3DFormat(java.lang.String, java.lang.String, java.lang.String)">Vector3DFormat</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix,
171 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;suffix,
172 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;separator)</CODE>
173
174 <BR>
175 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an instance with custom prefix, suffix and separator.</TD>
176 </TR>
177 <TR BGCOLOR="white" CLASS="TableRowColor">
178 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html#Vector3DFormat(java.lang.String, java.lang.String, java.lang.String, java.text.NumberFormat)">Vector3DFormat</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix,
179 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;suffix,
180 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;separator,
181 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/NumberFormat.html?is-external=true" title="class or interface in java.text">NumberFormat</A>&nbsp;format)</CODE>
182
183 <BR>
184 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an instance with custom prefix, suffix, separator and format
185 for components.</TD>
186 </TR>
187 </TABLE>
188 &nbsp;
189 <!-- ========== METHOD SUMMARY =========== -->
190
191 <A NAME="method_summary"><!-- --></A>
192 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
193 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
194 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
195 <B>Method Summary</B></FONT></TH>
196 </TR>
197 <TR BGCOLOR="white" CLASS="TableRowColor">
198 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A></CODE></FONT></TD>
200 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html#format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition)">format</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;obj,
201 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A>&nbsp;toAppendTo,
202 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/FieldPosition.html?is-external=true" title="class or interface in java.text">FieldPosition</A>&nbsp;pos)</CODE>
203
204 <BR>
205 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Formats a object to produce a string.</TD>
206 </TR>
207 <TR BGCOLOR="white" CLASS="TableRowColor">
208 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
209 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A></CODE></FONT></TD>
210 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html#format(org.apache.commons.math.geometry.Vector3D, java.lang.StringBuffer, java.text.FieldPosition)">format</A></B>(<A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry">Vector3D</A>&nbsp;vector,
211 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A>&nbsp;toAppendTo,
212 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/FieldPosition.html?is-external=true" title="class or interface in java.text">FieldPosition</A>&nbsp;pos)</CODE>
213
214 <BR>
215 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Formats a <A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry"><CODE>Vector3D</CODE></A> object to produce a string.</TD>
216 </TR>
217 <TR BGCOLOR="white" CLASS="TableRowColor">
218 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219 <CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
220 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html#formatVector3D(org.apache.commons.math.geometry.Vector3D)">formatVector3D</A></B>(<A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry">Vector3D</A>&nbsp;v)</CODE>
221
222 <BR>
223 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This static method calls <A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#format(java.lang.Object)" title="class or interface in java.text"><CODE>Format.format(Object)</CODE></A> on a default instance of
224 Vector3DFormat.</TD>
225 </TR>
226 <TR BGCOLOR="white" CLASS="TableRowColor">
227 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228 <CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</A>[]</CODE></FONT></TD>
229 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html#getAvailableLocales()">getAvailableLocales</A></B>()</CODE>
230
231 <BR>
232 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the set of locales for which 3D vectors formats are available.</TD>
233 </TR>
234 <TR BGCOLOR="white" CLASS="TableRowColor">
235 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
236 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/text/NumberFormat.html?is-external=true" title="class or interface in java.text">NumberFormat</A></CODE></FONT></TD>
237 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html#getFormat()">getFormat</A></B>()</CODE>
238
239 <BR>
240 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the components format.</TD>
241 </TR>
242 <TR BGCOLOR="white" CLASS="TableRowColor">
243 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
244 <CODE>static&nbsp;<A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html" title="class in org.apache.commons.math.geometry">Vector3DFormat</A></CODE></FONT></TD>
245 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html#getInstance()">getInstance</A></B>()</CODE>
246
247 <BR>
248 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default 3D vector format for the current locale.</TD>
249 </TR>
250 <TR BGCOLOR="white" CLASS="TableRowColor">
251 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
252 <CODE>static&nbsp;<A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html" title="class in org.apache.commons.math.geometry">Vector3DFormat</A></CODE></FONT></TD>
253 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html#getInstance(java.util.Locale)">getInstance</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</A>&nbsp;locale)</CODE>
254
255 <BR>
256 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default 3D vector format for the given locale.</TD>
257 </TR>
258 <TR BGCOLOR="white" CLASS="TableRowColor">
259 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
260 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
261 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html#getPrefix()">getPrefix</A></B>()</CODE>
262
263 <BR>
264 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the format prefix.</TD>
265 </TR>
266 <TR BGCOLOR="white" CLASS="TableRowColor">
267 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
268 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
269 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html#getSeparator()">getSeparator</A></B>()</CODE>
270
271 <BR>
272 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the format separator between components.</TD>
273 </TR>
274 <TR BGCOLOR="white" CLASS="TableRowColor">
275 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
276 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
277 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html#getSuffix()">getSuffix</A></B>()</CODE>
278
279 <BR>
280 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the format suffix.</TD>
281 </TR>
282 <TR BGCOLOR="white" CLASS="TableRowColor">
283 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
284 <CODE>&nbsp;<A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry">Vector3D</A></CODE></FONT></TD>
285 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;source)</CODE>
286
287 <BR>
288 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a string to produce a <A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry"><CODE>Vector3D</CODE></A> object.</TD>
289 </TR>
290 <TR BGCOLOR="white" CLASS="TableRowColor">
291 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
292 <CODE>&nbsp;<A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry">Vector3D</A></CODE></FONT></TD>
293 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html#parse(java.lang.String, java.text.ParsePosition)">parse</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;source,
294 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/ParsePosition.html?is-external=true" title="class or interface in java.text">ParsePosition</A>&nbsp;pos)</CODE>
295
296 <BR>
297 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a string to produce a <A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry"><CODE>Vector3D</CODE></A> object.</TD>
298 </TR>
299 <TR BGCOLOR="white" CLASS="TableRowColor">
300 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
301 <CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
302 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html#parseObject(java.lang.String, java.text.ParsePosition)">parseObject</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;source,
303 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/ParsePosition.html?is-external=true" title="class or interface in java.text">ParsePosition</A>&nbsp;pos)</CODE>
304
305 <BR>
306 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses a string to produce a object.</TD>
307 </TR>
308 </TABLE>
309 &nbsp;<A NAME="methods_inherited_from_class_org.apache.commons.math.util.CompositeFormat"><!-- --></A>
310 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
311 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
312 <TH ALIGN="left"><B>Methods inherited from class org.apache.commons.math.util.<A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html" title="class in org.apache.commons.math.util">CompositeFormat</A></B></TH>
313 </TR>
314 <TR BGCOLOR="white" CLASS="TableRowColor">
315 <TD><CODE><A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html#formatDouble(double, java.text.NumberFormat, java.lang.StringBuffer, java.text.FieldPosition)">formatDouble</A>, <A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html#getDefaultNumberFormat()">getDefaultNumberFormat</A>, <A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html#getDefaultNumberFormat(java.util.Locale)">getDefaultNumberFormat</A>, <A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html#parseAndIgnoreWhitespace(java.lang.String, java.text.ParsePosition)">parseAndIgnoreWhitespace</A>, <A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html#parseFixedstring(java.lang.String, java.lang.String, java.text.ParsePosition)">parseFixedstring</A>, <A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html#parseNextCharacter(java.lang.String, java.text.ParsePosition)">parseNextCharacter</A>, <A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html#parseNumber(java.lang.String, java.text.NumberFormat, java.text.ParsePosition)">parseNumber</A></CODE></TD>
316 </TR>
317 </TABLE>
318 &nbsp;<A NAME="methods_inherited_from_class_java.text.Format"><!-- --></A>
319 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
320 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
321 <TH ALIGN="left"><B>Methods inherited from class java.text.<A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true" title="class or interface in java.text">Format</A></B></TH>
322 </TR>
323 <TR BGCOLOR="white" CLASS="TableRowColor">
324 <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#clone()" title="class or interface in java.text">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#format(java.lang.Object)" title="class or interface in java.text">format</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#formatToCharacterIterator(java.lang.Object)" title="class or interface in java.text">formatToCharacterIterator</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#parseObject(java.lang.String)" title="class or interface in java.text">parseObject</A></CODE></TD>
325 </TR>
326 </TABLE>
327 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
328 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
329 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
330 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
331 </TR>
332 <TR BGCOLOR="white" CLASS="TableRowColor">
333 <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
334 </TR>
335 </TABLE>
336 &nbsp;
337 <P>
338
339 <!-- ========= CONSTRUCTOR DETAIL ======== -->
340
341 <A NAME="constructor_detail"><!-- --></A>
342 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
343 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
344 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
345 <B>Constructor Detail</B></FONT></TH>
346 </TR>
347 </TABLE>
348
349 <A NAME="Vector3DFormat()"><!-- --></A><H3>
350 Vector3DFormat</H3>
351 <PRE>
352 public <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.82"><B>Vector3DFormat</B></A>()</PRE>
353 <DL>
354 <DD>Create an instance with default settings.
355 <p>The instance uses the default prefix, suffix and separator:
356 "{", "}", and "; " and the default number format for components.</p>
357 <P>
358 </DL>
359 <HR>
360
361 <A NAME="Vector3DFormat(java.text.NumberFormat)"><!-- --></A><H3>
362 Vector3DFormat</H3>
363 <PRE>
364 public <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.90"><B>Vector3DFormat</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/text/NumberFormat.html?is-external=true" title="class or interface in java.text">NumberFormat</A>&nbsp;format)</PRE>
365 <DL>
366 <DD>Create an instance with a custom number format for components.
367 <P>
368 <DL>
369 <DT><B>Parameters:</B><DD><CODE>format</CODE> - the custom format for components.</DL>
370 </DL>
371 <HR>
372
373 <A NAME="Vector3DFormat(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
374 Vector3DFormat</H3>
375 <PRE>
376 public <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.100"><B>Vector3DFormat</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix,
377 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;suffix,
378 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;separator)</PRE>
379 <DL>
380 <DD>Create an instance with custom prefix, suffix and separator.
381 <P>
382 <DL>
383 <DT><B>Parameters:</B><DD><CODE>prefix</CODE> - prefix to use instead of the default "{"<DD><CODE>suffix</CODE> - suffix to use instead of the default "}"<DD><CODE>separator</CODE> - separator to use instead of the default "; "</DL>
384 </DL>
385 <HR>
386
387 <A NAME="Vector3DFormat(java.lang.String, java.lang.String, java.lang.String, java.text.NumberFormat)"><!-- --></A><H3>
388 Vector3DFormat</H3>
389 <PRE>
390 public <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.113"><B>Vector3DFormat</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix,
391 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;suffix,
392 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;separator,
393 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/NumberFormat.html?is-external=true" title="class or interface in java.text">NumberFormat</A>&nbsp;format)</PRE>
394 <DL>
395 <DD>Create an instance with custom prefix, suffix, separator and format
396 for components.
397 <P>
398 <DL>
399 <DT><B>Parameters:</B><DD><CODE>prefix</CODE> - prefix to use instead of the default "{"<DD><CODE>suffix</CODE> - suffix to use instead of the default "}"<DD><CODE>separator</CODE> - separator to use instead of the default "; "<DD><CODE>format</CODE> - the custom format for components.</DL>
400 </DL>
401
402 <!-- ============ METHOD DETAIL ========== -->
403
404 <A NAME="method_detail"><!-- --></A>
405 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
406 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
407 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
408 <B>Method Detail</B></FONT></TH>
409 </TR>
410 </TABLE>
411
412 <A NAME="getAvailableLocales()"><!-- --></A><H3>
413 getAvailableLocales</H3>
414 <PRE>
415 public static <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</A>[] <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.129"><B>getAvailableLocales</B></A>()</PRE>
416 <DL>
417 <DD>Get the set of locales for which 3D vectors formats are available.
418 <p>This is the same set as the <A HREF="http://java.sun.com/javase/6/docs/api/java/text/NumberFormat.html?is-external=true" title="class or interface in java.text"><CODE>NumberFormat</CODE></A> set.</p>
419 <P>
420 <DD><DL>
421
422 <DT><B>Returns:</B><DD>available 3D vector format locales.</DL>
423 </DD>
424 </DL>
425 <HR>
426
427 <A NAME="getPrefix()"><!-- --></A><H3>
428 getPrefix</H3>
429 <PRE>
430 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.137"><B>getPrefix</B></A>()</PRE>
431 <DL>
432 <DD>Get the format prefix.
433 <P>
434 <DD><DL>
435
436 <DT><B>Returns:</B><DD>format prefix.</DL>
437 </DD>
438 </DL>
439 <HR>
440
441 <A NAME="getSuffix()"><!-- --></A><H3>
442 getSuffix</H3>
443 <PRE>
444 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.145"><B>getSuffix</B></A>()</PRE>
445 <DL>
446 <DD>Get the format suffix.
447 <P>
448 <DD><DL>
449
450 <DT><B>Returns:</B><DD>format suffix.</DL>
451 </DD>
452 </DL>
453 <HR>
454
455 <A NAME="getSeparator()"><!-- --></A><H3>
456 getSeparator</H3>
457 <PRE>
458 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.153"><B>getSeparator</B></A>()</PRE>
459 <DL>
460 <DD>Get the format separator between components.
461 <P>
462 <DD><DL>
463
464 <DT><B>Returns:</B><DD>format separator.</DL>
465 </DD>
466 </DL>
467 <HR>
468
469 <A NAME="getFormat()"><!-- --></A><H3>
470 getFormat</H3>
471 <PRE>
472 public <A HREF="http://java.sun.com/javase/6/docs/api/java/text/NumberFormat.html?is-external=true" title="class or interface in java.text">NumberFormat</A> <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.161"><B>getFormat</B></A>()</PRE>
473 <DL>
474 <DD>Get the components format.
475 <P>
476 <DD><DL>
477
478 <DT><B>Returns:</B><DD>components format.</DL>
479 </DD>
480 </DL>
481 <HR>
482
483 <A NAME="getInstance()"><!-- --></A><H3>
484 getInstance</H3>
485 <PRE>
486 public static <A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html" title="class in org.apache.commons.math.geometry">Vector3DFormat</A> <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.169"><B>getInstance</B></A>()</PRE>
487 <DL>
488 <DD>Returns the default 3D vector format for the current locale.
489 <P>
490 <DD><DL>
491
492 <DT><B>Returns:</B><DD>the default 3D vector format.</DL>
493 </DD>
494 </DL>
495 <HR>
496
497 <A NAME="getInstance(java.util.Locale)"><!-- --></A><H3>
498 getInstance</H3>
499 <PRE>
500 public static <A HREF="../../../../../org/apache/commons/math/geometry/Vector3DFormat.html" title="class in org.apache.commons.math.geometry">Vector3DFormat</A> <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.178"><B>getInstance</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</A>&nbsp;locale)</PRE>
501 <DL>
502 <DD>Returns the default 3D vector format for the given locale.
503 <P>
504 <DD><DL>
505 <DT><B>Parameters:</B><DD><CODE>locale</CODE> - the specific locale used by the format.
506 <DT><B>Returns:</B><DD>the 3D vector format specific to the given locale.</DL>
507 </DD>
508 </DL>
509 <HR>
510
511 <A NAME="formatVector3D(org.apache.commons.math.geometry.Vector3D)"><!-- --></A><H3>
512 formatVector3D</H3>
513 <PRE>
514 public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.189"><B>formatVector3D</B></A>(<A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry">Vector3D</A>&nbsp;v)</PRE>
515 <DL>
516 <DD>This static method calls <A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#format(java.lang.Object)" title="class or interface in java.text"><CODE>Format.format(Object)</CODE></A> on a default instance of
517 Vector3DFormat.
518 <P>
519 <DD><DL>
520 <DT><B>Parameters:</B><DD><CODE>v</CODE> - Vector3D object to format
521 <DT><B>Returns:</B><DD>A formatted vector</DL>
522 </DD>
523 </DL>
524 <HR>
525
526 <A NAME="format(org.apache.commons.math.geometry.Vector3D, java.lang.StringBuffer, java.text.FieldPosition)"><!-- --></A><H3>
527 format</H3>
528 <PRE>
529 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A> <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.201"><B>format</B></A>(<A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry">Vector3D</A>&nbsp;vector,
530 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A>&nbsp;toAppendTo,
531 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/FieldPosition.html?is-external=true" title="class or interface in java.text">FieldPosition</A>&nbsp;pos)</PRE>
532 <DL>
533 <DD>Formats a <A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry"><CODE>Vector3D</CODE></A> object to produce a string.
534 <P>
535 <DD><DL>
536 <DT><B>Parameters:</B><DD><CODE>vector</CODE> - the object to format.<DD><CODE>toAppendTo</CODE> - where the text is to be appended<DD><CODE>pos</CODE> - On input: an alignment field, if desired. On output: the
537 offsets of the alignment field
538 <DT><B>Returns:</B><DD>the value passed in as toAppendTo.</DL>
539 </DD>
540 </DL>
541 <HR>
542
543 <A NAME="format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition)"><!-- --></A><H3>
544 format</H3>
545 <PRE>
546 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A> <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.237"><B>format</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;obj,
547 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A>&nbsp;toAppendTo,
548 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/FieldPosition.html?is-external=true" title="class or interface in java.text">FieldPosition</A>&nbsp;pos)</PRE>
549 <DL>
550 <DD>Formats a object to produce a string.
551 <p><code>obj</code> must be a <A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry"><CODE>Vector3D</CODE></A> object. Any other type of
552 object will result in an <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><CODE>IllegalArgumentException</CODE></A> being thrown.</p>
553 <P>
554 <DD><DL>
555 <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition)" title="class or interface in java.text">format</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true" title="class or interface in java.text">Format</A></CODE></DL>
556 </DD>
557 <DD><DL>
558 <DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object to format.<DD><CODE>toAppendTo</CODE> - where the text is to be appended<DD><CODE>pos</CODE> - On input: an alignment field, if desired. On output: the
559 offsets of the alignment field
560 <DT><B>Returns:</B><DD>the value passed in as toAppendTo.
561 <DT><B>Throws:</B>
562 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - is <code>obj</code> is not a valid type.<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition)" title="class or interface in java.text"><CODE>Format.format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition)</CODE></A></DL>
563 </DD>
564 </DL>
565 <HR>
566
567 <A NAME="parse(java.lang.String)"><!-- --></A><H3>
568 parse</H3>
569 <PRE>
570 public <A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry">Vector3D</A> <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.256"><B>parse</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;source)
571 throws <A HREF="http://java.sun.com/javase/6/docs/api/java/text/ParseException.html?is-external=true" title="class or interface in java.text">ParseException</A></PRE>
572 <DL>
573 <DD>Parses a string to produce a <A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry"><CODE>Vector3D</CODE></A> object.
574 <P>
575 <DD><DL>
576 <DT><B>Parameters:</B><DD><CODE>source</CODE> - the string to parse
577 <DT><B>Returns:</B><DD>the parsed <A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry"><CODE>Vector3D</CODE></A> object.
578 <DT><B>Throws:</B>
579 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/text/ParseException.html?is-external=true" title="class or interface in java.text">ParseException</A></CODE> - if the beginning of the specified string
580 cannot be parsed.</DL>
581 </DD>
582 </DL>
583 <HR>
584
585 <A NAME="parse(java.lang.String, java.text.ParsePosition)"><!-- --></A><H3>
586 parse</H3>
587 <PRE>
588 public <A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry">Vector3D</A> <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.273"><B>parse</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;source,
589 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/ParsePosition.html?is-external=true" title="class or interface in java.text">ParsePosition</A>&nbsp;pos)</PRE>
590 <DL>
591 <DD>Parses a string to produce a <A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry"><CODE>Vector3D</CODE></A> object.
592 <P>
593 <DD><DL>
594 <DT><B>Parameters:</B><DD><CODE>source</CODE> - the string to parse<DD><CODE>pos</CODE> - input/ouput parsing parameter.
595 <DT><B>Returns:</B><DD>the parsed <A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry"><CODE>Vector3D</CODE></A> object.</DL>
596 </DD>
597 </DL>
598 <HR>
599
600 <A NAME="parseObject(java.lang.String, java.text.ParsePosition)"><!-- --></A><H3>
601 parseObject</H3>
602 <PRE>
603 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <A HREF="../../../../../src-html/org/apache/commons/math/geometry/Vector3DFormat.html#line.338"><B>parseObject</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;source,
604 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/ParsePosition.html?is-external=true" title="class or interface in java.text">ParsePosition</A>&nbsp;pos)</PRE>
605 <DL>
606 <DD>Parses a string to produce a object.
607 <P>
608 <DD><DL>
609 <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#parseObject(java.lang.String, java.text.ParsePosition)" title="class or interface in java.text">parseObject</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true" title="class or interface in java.text">Format</A></CODE></DL>
610 </DD>
611 <DD><DL>
612 <DT><B>Parameters:</B><DD><CODE>source</CODE> - the string to parse<DD><CODE>pos</CODE> - input/ouput parsing parameter.
613 <DT><B>Returns:</B><DD>the parsed object.<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#parseObject(java.lang.String, java.text.ParsePosition)" title="class or interface in java.text"><CODE>Format.parseObject(java.lang.String, java.text.ParsePosition)</CODE></A></DL>
614 </DD>
615 </DL>
616 <!-- ========= END OF CLASS DATA ========= -->
617 <HR>
618
619
620 <!-- ======= START OF BOTTOM NAVBAR ====== -->
621 <A NAME="navbar_bottom"><!-- --></A>
622 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
623 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
624 <TR>
625 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
626 <A NAME="navbar_bottom_firstrow"><!-- --></A>
627 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
628 <TR ALIGN="center" VALIGN="top">
629 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
630 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
631 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
632 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Vector3DFormat.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
633 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
634 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
635 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
636 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
637 </TR>
638 </TABLE>
639 </TD>
640 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
641 </EM>
642 </TD>
643 </TR>
644
645 <TR>
646 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
647 &nbsp;<A HREF="../../../../../org/apache/commons/math/geometry/Vector3D.html" title="class in org.apache.commons.math.geometry"><B>PREV CLASS</B></A>&nbsp;
648 &nbsp;NEXT CLASS</FONT></TD>
649 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
650 <A HREF="../../../../../index.html?org/apache/commons/math/geometry/Vector3DFormat.html" target="_top"><B>FRAMES</B></A> &nbsp;
651 &nbsp;<A HREF="Vector3DFormat.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
652 &nbsp;<SCRIPT type="text/javascript">
653 <!--
654 if(window==top) {
655 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
656 }
657 //-->
658 </SCRIPT>
659 <NOSCRIPT>
660 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
661 </NOSCRIPT>
662
663
664 </FONT></TD>
665 </TR>
666 <TR>
667 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
668 SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_java.text.Format">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
669 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
670 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
671 </TR>
672 </TABLE>
673 <A NAME="skip-navbar_bottom"></A>
674 <!-- ======== END OF BOTTOM NAVBAR ======= -->
675
676 <HR>
677 Copyright &#169; 2003-2010 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
678 </BODY>
679 </HTML>