<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">John,<br>
<br>
<br>
</div>
<blockquote
cite="mid:CAGC3UE=bPDUxBZzAMim+08-YLDd_W6rSVa2tiyG8_Riec_3drA@mail.gmail.com"
type="cite">
<div class="gmail_quote"><br>
<p dir="ltr">
> I am looking at this from the standpoint of a 3D
developer who needs to (programmatically) work with the
elements of the array. For this discussion, assume this is a
point array with each point having 3 coordinates (point field
in a Coordinate node). If I wish to morph the existing shape
into something else, I want to work with the points (as a
3-tuple) of the shape. It is creates much clearer code to
reference something like p[27] than (p[27*3], p[27*3+1],
p[27*3+2]). </p>
<p dir="ltr">I'm not so sure you would be doing all that
multiplication...I'm imagining something like:</p>
<p dir="ltr">for (index=0; index < max;) {<br>
X = array[index++];<br>
Y = array[index++];<br>
Z = array[index++];<br>
// do something with (X, Y, Z)<br>
}</p>
<p dir="ltr">Would this be satisfactory, Leonard?</p>
</div>
</blockquote>
<br>
This issue is not so much the multiplication to get the indices, but
all of the handling (even if the code optimizes well) that is
necessary to get to the individual points.<br>
<br>
Leonard Daly<br>
<br>
<br>
<br>
<blockquote
cite="mid:CAGC3UE=bPDUxBZzAMim+08-YLDd_W6rSVa2tiyG8_Riec_3drA@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<p dir="ltr">John</p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/Zoho">http://p.sf.net/sfu/Zoho</a></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
x3dom-developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:x3dom-developers@lists.sourceforge.net">x3dom-developers@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/x3dom-developers">https://lists.sourceforge.net/lists/listinfo/x3dom-developers</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<font class="tahoma,arial,helvetica san serif" color="#333366">
<font size="+1"><b>Leonard Daly</b></font><br>
X3D Co-Chair<br>
Cloud Consultant<br>
President, Daly Realism - <i>Creating the Future</i>
</font></div>
</body>
</html>