/// <summary>
 /// Determines whether the specified kind has the given facet.
 /// </summary>
 /// <param name="kind">The shape kind.</param>
 /// <param name="facet">The facet to look for.</param>
 /// <returns>
 ///   <c>true</c> if the specified kind has the facet; otherwise, <c>false</c>.
 /// </returns>
 public static bool HasFacet(this SpatialShapeKind kind, SpatialShapeFacets facet)
 {
     return(0 != ((int)kind & (int)facet));
 }
 /// <summary>
 /// Determines whether the specified kind has the given facet.
 /// </summary>
 /// <param name="kind">The shape kind.</param>
 /// <param name="facet">The facet to look for.</param>
 /// <returns>
 ///   <c>true</c> if the specified kind has the facet; otherwise, <c>false</c>.
 /// </returns>
 public static bool HasFacet(this SpatialShapeKind kind, SpatialShapeFacets facet)
 {
     return 0 != ((int)kind & (int)facet);
 }