Changes between Version 20 and Version 21 of FDORfc48


Ignore:
Timestamp:
07/29/10 22:54:44 (14 years ago)
Author:
leaf
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc48

    v20 v21  
    327327    FdoFixPolygonVertexOrderAction_CheckAndFix,     // CW            Not enforced   CCW         Not enforced
    328328    FdoFixPolygonVertexOrderAction_CheckAndFix,     // CW            Not enforced   CW          Enforced
    329     FdoFixPolygonVertexOrderAction__CheckAndFix,    // CW            Not enforced   CW          Not enforced
     329    FdoFixPolygonVertexOrderAction_CheckAndFix,    // CW            Not enforced   CW          Not enforced
    330330    FdoFixPolygonVertexOrderAction_None,            // CW            Not enforced   None        Enforced      True
    331331    FdoFixPolygonVertexOrderAction_None,            // CW            Not enforced   None        Not enforced
     
    349349If users perfer performance to correctness, method !GetFixPolygonVertexOrderAction will use table1. It guarantees that polygons in the target will have the correct vertex order if the target is enforced. If users perfer correctness to performance, method !GetFixPolygonVertexOrderAction will use table2. It guarantees that polygons in the target will have the correct vertex order if the vertex order rule of the target isn't none.
    350350
    351 Considering perfomrance, an additional paramether 'FdoBoolean checkInteriorRings' will be added for method FdoSpatialUtility::ReversePolygonVertexOrder(...). If users know the input polygon is a valid polygon, they can pass false for parameter checkInteriorRings to reverse its vertex order. Otherwise, pass true. Method FdoSpatialUtility::ReversePolygonVertexOrder(...) will check whether interior rings have the different vertex order with exterior ring and guarantee the returned polygon is a valid polygon after reversing the vertex order of the input polygon.
     351Considering performance, an additional parameter '!FdoBoolean checkInteriorRings' will be added for method !FdoSpatialUtility::ReversePolygonVertexOrder(...). If users know the input polygon is a valid polygon, they can pass false for parameter checkInteriorRings to reverse its vertex order. Otherwise, pass true. Method !FdoSpatialUtility::ReversePolygonVertexOrder(...) will check whether interior rings have the different vertex order with exterior ring and guarantee the returned polygon is a valid polygon after reversing the vertex order of the input polygon.
    352352
    353353
     
    357357public:
    358358    /// \brief
    359     /// Revers the vertex order of the input polygon.
     359    /// Reverse the vertex order of the input polygon.
    360360    ///
    361361    /// \param geometry