42 """Get the IDs of all shards that touch a circular aperture.
46 ctrCoord : `lsst.geom.SpherePoint`
47 ICRS center of search region.
48 radius : `lsst.geom.Angle`
49 Radius of search region.
56 - shardIdList : `list` of `int`
58 - isOnBoundary : `list` of `bool`
59 For each shard in ``shardIdList`` is the shard on the
60 boundary (not fully enclosed by the search region)?
62 shardIdList = self.
htm.intersect(ctrCoord.getLongitude().asDegrees(),
63 ctrCoord.getLatitude().asDegrees(),
64 radius.asDegrees(), inclusive=
True)
65 coveredShardIdList = self.
htm.intersect(ctrCoord.getLongitude().asDegrees(),
66 ctrCoord.getLatitude().asDegrees(),
67 radius.asDegrees(), inclusive=
False)
68 isOnBoundary = (shardId
not in coveredShardIdList
for shardId
in shardIdList)
69 return shardIdList, isOnBoundary