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

Method setClosingPoint

src/core/objects/object.cpp:3159–3166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3157}
3158
3159void PathObject::setClosingPoint(MapCoordVector::size_type index, const MapCoord& coord)
3160{
3161 auto& out_coord = coords[index];
3162 out_coord = coord;
3163 out_coord.setCurveStart(false);
3164 out_coord.setHolePoint(true);
3165 out_coord.setClosePoint(true);
3166}
3167
3168void PathObject::updateEvent() const
3169{

Callers 2

setClosedMethod · 0.80
connectEndsMethod · 0.80

Calls 3

setCurveStartMethod · 0.80
setHolePointMethod · 0.80
setClosePointMethod · 0.80

Tested by

no test coverage detected