Class uipc::geometry::IGeometry
ClassList > uipc > geometry > IGeometry
An abstract class for geometries.
#include <geometry.h>
Inherited by the following classes: uipc::geometry::Geometry
Public Functions
Type | Name |
---|---|
Json | to_json () const |
std::string_view | type () noexcept const Get the type of the geometries, check the type to downcast the geometries to a specific type. |
virtual | ~IGeometry () = default |
Protected Functions
Type | Name |
---|---|
virtual void | do_collect_attribute_collections (vector< std::string > & names, vector< AttributeCollection * > & collections) = 0 |
virtual Json | do_to_json () const = 0 |
virtual std::string_view | get_type () noexcept const = 0 |
Public Functions Documentation
function to_json
function type
Get the type of the geometries, check the type to downcast the geometries to a specific type.
Returns:
a string_view of the type of the geometries
function ~IGeometry
Protected Functions Documentation
function do_collect_attribute_collections
virtual void uipc::geometry::IGeometry::do_collect_attribute_collections (
vector< std::string > & names,
vector< AttributeCollection * > & collections
) = 0
function do_to_json
function get_type
Friends Documentation
friend GeometryVisitor
The documentation for this class was generated from the following file include/uipc/geometry/geometry.h