struct DGtal::concepts::CPrimitiveComputer< T >
Aim: Defines the concept describing an object that computes some primitive from input points, while keeping some internal state. At any moment, the object is supposed to store at least one valid primitive for the formerly given input points. A primitive is an informal word that describes some family of objects that share common characteristics. Often, the primitives are geometric, e.g. digital planes.
Description of concept 'CPrimitiveComputer'
Refinement of boost::DefaultConstructible<T>, boost::CopyConstructible<T>, boost::Assignable<T>
Associated types :
- Space, the type that defines the digital space.
- Primitive, the type that defines the primitive.
Valid expressions and semantics
|Name ||Expression ||Type requirements ||Return type ||Precondition ||Semantics ||Post condition ||Complexity |
|access to primitive ||x.primitive() ||Primitive ||returns a primitive that represents the current solution||O(1) |
- Template Parameters
Definition at line 95 of file CPrimitiveComputer.h.