Issue 4572: Entity.Position() returns PointStructure instead of TransformationStructure (cad-ftf) Source: Open CASCADE (Mr. Mikhail Kazakov, m-kazakov@opencascade.com, m-kazakov@eads.matradatavision.com) Nature: Uncategorized Issue Severity: Summary: Replace CadUtility::PointStruct position () raises (CadUtility::CadError); // Returns a struct of the coordinates of a single, reference location on // the entity that should be unique relative to neighboring entities. method by CadUtility::TransformationStruct location () raises (CadUtility::CadError); // Returns a struct of the applied transformation, which represents // the location (position, turn, scale) of the entity according the global coordinates In that case, we will be able to refer the entity according any other entities. This method doesn't return the "last applied transformation", but "the superposition of all applied transformations". In that case, location of the entity in 3D space will be returned. Resolution: Duplicate Revised Text: Actions taken: September 20, 2001: received issue July 5, 2002: closed issue Discussion: End of Annotations:===== Date: Thu, 20 Sep 2001 20:09:53 +0200 From: "Mikhail KAZAKOV (mko)" Organization: Matra Datavision X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,fr,fr-FR MIME-Version: 1.0 To: cad ftf , "jcad_services@yahoogroups.com" Subject: Proposals for issues resolution Content-Type: multipart/mixed; boundary="------------376082FA927FA0B1E8BDFD5A" X-UIDL: o$Fe97[c!!)``d9diTd9 Dear colleagues, I'd like to propose some possible ways to resolve next issues: No number issue. "Entity.Position() returns PointStructure instead of TransformationStructure " Possible resolution: Replace CadUtility::PointStruct position () raises (CadUtility::CadError); // Returns a struct of the coordinates of a single, reference location on // the entity that should be unique relative to neighboring entities. method by CadUtility::TransformationStruct location () raises (CadUtility::CadError); // Returns a struct of the applied transformation, which represents // the location (position, turn, scale) of the entity according the global coordinates In that case, we will be able to refer the entity according any other entities. This method doesn't return the "last applied transformation", but "the superposition of all applied transformations". In that case, location of the entity in 3D space will be returned.