MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / PathPart

Method PathPart

src/core/objects/object.cpp:768–776  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

766 "PathCoordVector::size_type is not std::size_t");
767
768PathPart::PathPart(PathObject& path, const VirtualPath& virtual_path)
769: PathPart(path, virtual_path.first_index, virtual_path.last_index)
770{
771 if (!virtual_path.path_coords.empty())
772 {
773 path_coords.reserve(virtual_path.path_coords.size());
774 path_coords.insert(end(path_coords), begin(virtual_path.path_coords), end(virtual_path.path_coords));
775 }
776}
777
778void PathPart::setClosed(bool closed, bool may_use_existing_close_point)
779{

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45
sizeMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected