コード例 #1
0
 public sealed override ReferencePoint GetReferencePoint()
 {
     // GetReferencePoint interprets a loop with no vertices as "full".
     if (NumVertices == 0)
     {
         return(ReferencePoint.FromContained(false));
     }
     return(S2ShapeUtil.GetReferencePoint(this));
 }
コード例 #2
0
 // Not final; overridden by S2LaxClosedPolylineShape.
 public override ReferencePoint GetReferencePoint()
 {
     return(S2ShapeUtil.GetReferencePoint(this));
 }