<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:CMTT10;}
@font-face
        {font-family:CMSLTT10;}
@font-face
        {font-family:CMR10;}
@font-face
        {font-family:CMSL10;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=FR link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Hi <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>I am facing the  problem of </span></font><u><span
lang=EN>finding the minimum-3D box enclosing AS CLOSE AS POSSIBLE a set of 3D
mesh points</span></u><span lang=EN> . <o:p></o:p></span></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'>I would like to avoid the use of a too-sophisticated
algorithm .<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'>(cf.   http://en.wikipedia.org/wiki/Minimum_bounding_box_algorithms)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'>Actually, when used straightforwardly, the method
“</span></font><font size=2 face=CMTT10><span lang=EN-GB
style='font-size:11.0pt;font-family:CMTT10'>BoundingBox”  </span></font><span
lang=EN>available in a  gmesh-session </span><font size=2 face=CMTT10><span
lang=EN-GB style='font-size:11.0pt;font-family:CMTT10'>returns a  </span></font><span
lang=EN>3D box  <o:p></o:p></span></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'>which box does not always correspond to the minimum
volume enclosing the set of points <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><i><font size=4 face="Times New Roman"><span lang=EN
style='font-size:14.0pt;font-style:italic'>( imagine a thin and not
fully-planar shape tilted in respect to the axes of a standard
coordinates-frame )<o:p></o:p></span></font></i></p>

<p class=MsoNormal><i><font size=4 face="Times New Roman"><span lang=EN
style='font-size:14.0pt;font-style:italic'><o:p> </o:p></span></font></i></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'>In fact, the matter comes from the bulk orientation of
the envelop of the set of points under consideration.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=CMTT10><span lang=EN-GB style='font-size:
11.0pt;font-family:CMTT10'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=CMTT10><span lang=EN-GB style='font-size:
11.0pt;font-family:CMTT10'>The usage is : <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=CMTT10><span lang=EN-GB style='font-size:
11.0pt;font-family:CMTT10'>BoundingBox { </span></font><font size=2
face=CMSLTT10><span lang=EN-GB style='font-size:11.0pt;font-family:CMSLTT10'>expression</span></font><font
size=2 face=CMTT10><span lang=EN-GB style='font-size:11.0pt;font-family:CMTT10'>,
</span></font><font size=2 face=CMSLTT10><span lang=EN-GB style='font-size:
11.0pt;font-family:CMSLTT10'>expression</span></font><font size=2 face=CMTT10><span
lang=EN-GB style='font-size:11.0pt;font-family:CMTT10'>, </span></font><font
size=2 face=CMSLTT10><span lang=EN-GB style='font-size:11.0pt;font-family:CMSLTT10'>expression</span></font><font
size=2 face=CMTT10><span lang=EN-GB style='font-size:11.0pt;font-family:CMTT10'>,
</span></font><font size=2 face=CMSLTT10><span lang=EN-GB style='font-size:
11.0pt;font-family:CMSLTT10'>expression</span></font><font size=2 face=CMTT10><span
lang=EN-GB style='font-size:11.0pt;font-family:CMTT10'>, </span></font><font
size=2 face=CMSLTT10><span lang=EN-GB style='font-size:11.0pt;font-family:CMSLTT10'>expression</span></font><font
size=2 face=CMTT10><span lang=EN-GB style='font-size:11.0pt;font-family:CMTT10'>,
</span></font><font size=2 face=CMSLTT10><span lang=EN-GB style='font-size:
11.0pt;font-family:CMSLTT10'>expression </span></font><font size=2 face=CMTT10><span
lang=EN-GB style='font-size:11.0pt;font-family:CMTT10'>};<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=CMR10><span lang=EN-GB style='font-size:
11.0pt;font-family:CMR10'>what forces the bounding box of the scene to the
given </span></font><font size=2 face=CMSL10><span lang=EN-GB style='font-size:
11.0pt;font-family:CMSL10'>expression</span></font><font size=2 face=CMR10><span
lang=EN-GB style='font-size:11.0pt;font-family:CMR10'>s (X min, X max,</span></font><font
size=4 face=CMR10><span lang=EN-GB style='font-size:14.0pt;font-family:CMR10'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=CMR10><span lang=ES style='font-size:11.0pt;
font-family:CMR10'>Y min, Y max, Z min, Z max).</span></font><font size=2
face=CMTT10><span lang=ES style='font-size:10.0pt;font-family:CMTT10'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=ES
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'>Therefore, I am wandering if there is a way of
 operating the “</span></font><font size=2 face=CMTT10><span
lang=EN-GB style='font-size:11.0pt;font-family:CMTT10'>BoundingBox”
method in order to get in the end the  truly-</span></font><span lang=EN>minimum
3D box enclosing. <o:p></o:p></span></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'>Actually, I guess that there is a preliminary thing to
do related to the coordinates system ; maybe I am wrong.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'>Well, I would appreciate it very much if anyone could supply
me for any piece of information regarding my problem. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'>Thanks a lot in advance for your attention and your
cooperation.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Regards<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Henri Pascal-Jenny <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

</div>

</body>

</html>