Changes between Version 18 and Version 19 of FDORfc48


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

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc48

    v18 v19  
    183183Autodesk to provide resources / funding.
    184184
    185 == Addendum, Sept. 08, 2009 ==
     185== Addendum, July 30, 2010 ==
    186186
    187187This RFC provides some utility methods to check polygon vertex order and fix polygon vertex order errors. However, what action should be taken when copying a polygon from one feature source to another feature source isn't addressed in this RFC. The answer for this question depends on users' preference. The following enums and methods will be introduced to address it.
     
    210210enum FdoFixPolygonVertexOrderPreference
    211211{
    212     /// Prefer high performance
     212    /// Prefer high performance. It guarantees that polygons in the target have
     213    /// the correct vertex order if the target is enforced.
    213214    FdoFixPolygonVertexOrderPreference_HighPerformance = 0,
    214215
    215     /// Prefer correctness
     216    /// Prefer correctness. It guarantees that polygons in the target have
     217    /// the correct vertex order if the vertex order rule of the target isn't none.
    216218    FdoFixPolygonVertexOrderPreference_Correctness = 1
    217219};
     
    236238    /// \param targetStrictnessRule
    237239    /// The vertex order strictness rule of the target.
    238     /// \param highPerformance
    239     /// True  - Prefer performance to correctness. It will guarantee the polygon i
    240     /// False - Prefer correctness to performance.
     240    /// \param preference
     241    /// The preference when fixing polygon vertex order.
    241242    ///
    242243    /// \return
     
    248249        FdoPolygonVertexOrderRule targetVertexOrderRule,
    249250        FdoBoolean targetStrictnessRule,
    250          highPerformance);
     251        FdoFixPolygonVertexOrderPreference preference);
    251252};
    252253}}}
    253254
    254 Method GetFixPolygonVertexOrderAction is used to get what action should be taken when copying a polygon from one feature source to another feature source. The following two tables are defined in this method.
     255Method !GetFixPolygonVertexOrderAction is used to get what action should be taken when copying a polygon from one feature source to another feature source. The following two tables are defined in this method.
    255256
    256257{{{
     
    346347}}}
    347348
    348 If 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.
     349If 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.