Home > All Other Interfaces > IGeometry > Dimension
Returns the dimension of the geometry object.
§ Points and multipoints = 0 (have neither length nor area)
§ Linestrings and multilinestrings = 1 (have length)
§ Polygons and multipolygons = 2 (have length and area)
JavaScript |
|
|
C# |
|
|
C++ |
|
HRESULT Dimension([out, retval] long* Dimension) |