/// <summary> /// Forces the geometry to update its envelope, and then updates the cached envelope of the feature. /// </summary> public void UpdateEnvelope() { if (_basicGeometry == null) { return; } _basicGeometry.UpdateEnvelope(); _envelope = _basicGeometry.Envelope; }
/// <summary> /// Forces the geometry to update its envelope, and then updates the cached envelope of the feature. /// </summary> public void UpdateEnvelope() { if (_basicGeometry == null) { return; } _basicGeometry.UpdateEnvelope(); _envelope = _basicGeometry.Envelope; if (ShapeIndex != null) { ShapeIndex.CalculateExtents(); //Changed by jany_ (2015-07-09) must be updated because sometimes ShapeIndizes are used although IndexMode is false } }