struct DGtal::concepts::CDomainAdjacency< T >
Aim: Refines the concept CAdjacency by telling that the adjacency is specific to a given domain of the embedding digital space.
Description of concept 'CDomainAdjacency'
This class is useful to define subspaces with restricted neighborhood relations. For instance, you can limit the adjacency to an object, then to its border, then to a subset of its border, etc.
Associated types :
- Domain: the domain of this adjacency.
- Predicate: the type of the predicate "is in domain ?"
Valid expressions and semantics
|Name ||Expression ||Type requirements ||Return type ||Precondition ||Semantics ||Post condition ||Complexity |
|embedding domain ||x.domain() ||const Domain & ||return a reference to the embedding domain.||O(1) |
|"is in domain ?" predicate ||x.predicate() ||const Predicate & ||return a reference to the predicate object that is characteristic of the embedding domain.||O(1) |
Definition at line 96 of file CDomainAdjacency.h.