This document is archived and information here might be outdated. Recommended version. |
Indicates whether this geometry is known (or assumed) to be topologically correct.
[Visual Basic .NET] Public ReadOnly Property IsKnownSimple As Boolean
[C#] public bool IsKnownSimple {get;}
[C++]
HRESULT get_IsKnownSimple(
Boolean* IsKnownSimple
);
[C++]
Parameters IsKnownSimple [out, retval]
IsKnownSimple is a parameter of type bool*
Returns TRUE when the geometry is aware that it is Simple. IsKnownSimple may return FALSE even if the geometry is simple as long as the geometry is not aware of its IsSimple state. Calling either IsSimple or Simplify makes the IsSimple state known to the geometry. Topologically altering the geometry makes the IsKnownSimple state FALSE until the IsSimple state is again checked.
Here is the status of the IsKnownSimple flag in some common situations:
IsKnownSimple='False'
- A non-empty newly created geometry. For example, creating a polygon using IPointCollection sets the flag IsKnownSimple='false' on that geometry.
- Geometry after projection (IGeometry::Project )
- Geometry after generalization (IPolycurve::Generalize ) or smoothing(IPolycurve::Smooth )
- �
IsKnownSimple='True'
- A geometry coming directly from a feature class
- An empty geometry
- Output geometry of any method on ITopologicalOperator
- �
This method does not support GeometryBags.