Changes between Version 8 and Version 9 of FDORfc28
- Timestamp:
- 10/21/08 11:31:27 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc28
v8 v9 1 = FDO RFC 28 - Add Min/MaxExpression Functions =1 = FDO RFC 28 - Add Start/End Expression Functions = 2 2 3 3 This page contains a request for comments document (RFC) for the FDO Open Source project. … … 28 28 This RFC proposes the following signatures for the new functions: 29 29 30 double '''MinX'''(<geometry property>);[[BR]]31 double '''MinY'''(<geometry property>);[[BR]]32 double '''MinZ'''(<geometry property>);[[BR]]30 double StartX(<geometry property>);[[BR]] 31 double StartY(<geometry property>);[[BR]] 32 double StartZ(<geometry property>);[[BR]] 33 33 34 double '''MaxX'''(<geometry property>);[[BR]]35 double '''MaxY'''(<geometry property>);[[BR]]36 double '''MaxZ'''(<geometry property>);[[BR]]34 double EndX(<geometry property>);[[BR]] 35 double EndY(<geometry property>);[[BR]] 36 double EndZ(<geometry property>);[[BR]] 37 37 38 38 All of the above functions accept a geometry property only. The result of the functions depend on the provided geometry: 39 39 40 If the provided geometry is a point geometry, the result of the Min/Maxfunctions is the x, y, z values of the point.[[BR]]41 If the provided geometry is a line, the result of the Min/Maxfunctions is the x, y, z values of the start and end points.[[BR]]42 If the provided geometry is a polygon, the result of the Min/Maxfunctions is the x, y, z values of the start and end points of the exterior ring of the polygon.[[BR]]40 If the provided geometry is a point geometry, the result of the Start/End functions is the x, y, z values of the point.[[BR]] 41 If the provided geometry is a line, the result of the Start/End functions is the x, y, z values of the start and end points.[[BR]] 42 If the provided geometry is a polygon, the result of the Start/End functions is the x, y, z values of the start and end points of the exterior ring of the polygon.[[BR]] 43 43 44 44 Like the standard functions listed in RFC 8, the user can get access to the geometric function definitions via the FDO interface !GetWellKnownFunctions. The new functions will be categorized as geometry functions (!FdoFunctionCategoryType_Geometry). … … 55 55 FdoPtr<FdoIdentifier> arg1 = FdoIdentifier::Create(L"GEOMETRY"); 56 56 functionArgs->Add(arg1); 57 FdoPtr<FdoFunction> computedExpr = FdoFunction::Create(L" MINX", functionArgs);58 FdoPtr<FdoComputedIdentifier> computedId = FdoComputedIdentifier::Create(L"POLE_ MINX", computedExpr);57 FdoPtr<FdoFunction> computedExpr = FdoFunction::Create(L"STARTX", functionArgs); 58 FdoPtr<FdoComputedIdentifier> computedId = FdoComputedIdentifier::Create(L"POLE_X", computedExpr); 59 59 idColl->Add(computedId); 60 60