CAD 1.0 NO IDEA Avatar
  1. OMG Issue

CAD — Entity.Position() returns PointStructure instead of TransformationStructure

  • Key: CAD-33
  • Legacy Issue Number: 4572
  • Status: closed  
  • Source: Open Cascade ( Mikhail Kazakov)
  • 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.

  • Reported: CAD 1.0b1 — Thu, 20 Sep 2001 04:00 GMT
  • Disposition: Resolved — CAD 1.0
  • Disposition Summary:

    Duplicate

  • Updated: Fri, 6 Mar 2015 20:58 GMT