Moin Markus,
ich habe mehrere Testläufe gemacht und immer das gleiche Verhalten:
(Nutze C#)
object[] coords = new object[8];
Measurable mAP = SPAWB.GetMeasurable((Reference) element1);
mAP.GetMinimumDistancePoints((Reference)element2, coords);
element1Coords[0] = (double)coords[0];
element1Coords[1] = (double)coords[1];
element1Coords[2] = (double)coords[2];
element2Coords[0] = (double)coords[3];
element2Coords[1] = (double)coords[4];
element2Coords[2] = (double)coords[5];
Point1 = GSDFactory.AddNewPointCoord(element1Coords[0], element1Coords[1], element1Coords[2]);
Point1.Compute();
this.stuffBody.AppendHybridShape(Point1);
Point2 = GSDFactory.AddNewPointCoord(element2Coords[0], element2Coords[1], element2Coords[2]);
Point2.Compute();
this.stuffBody.AppendHybridShape(Point2);
Die Darstellung ist immer so wie erwartet, also gehe ich davon aus, dass meine Annahme stimmt.
Die Koordinaten 0-2 im Ergebniss-Array stellen das Punkt auf ersten referenzierten Element (bei GetMeasurable)
Die Koordinate 3-5 - das Punkt im zweiten Element (der im Funktionsaufruf)...
Frohes schaffen!
etch
------------------
otia dant vitia
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP