Changes between Version 18 and Version 19 of FDORfc48
- Timestamp:
- 07/29/10 22:18:04 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc48
v18 v19 183 183 Autodesk to provide resources / funding. 184 184 185 == Addendum, Sept. 08, 2009==185 == Addendum, July 30, 2010 == 186 186 187 187 This 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. … … 210 210 enum FdoFixPolygonVertexOrderPreference 211 211 { 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. 213 214 FdoFixPolygonVertexOrderPreference_HighPerformance = 0, 214 215 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. 216 218 FdoFixPolygonVertexOrderPreference_Correctness = 1 217 219 }; … … 236 238 /// \param targetStrictnessRule 237 239 /// 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. 241 242 /// 242 243 /// \return … … 248 249 FdoPolygonVertexOrderRule targetVertexOrderRule, 249 250 FdoBoolean targetStrictnessRule, 250 highPerformance);251 FdoFixPolygonVertexOrderPreference preference); 251 252 }; 252 253 }}} 253 254 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.255 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. 255 256 256 257 {{{ … … 346 347 }}} 347 348 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, methodGetFixPolygonVertexOrderAction 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.349 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.