示例#1
0
 /// <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;
 }
示例#2
0
文件: Feature.cs 项目: qingqibing/aa
 /// <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
     }
 }