MCPcopy Create free account
hub / github.com/GilesBathgate/RapCAD / OffsetModule

Method OffsetModule

src/module/offsetmodule.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include "numbervalue.h"
23
24OffsetModule::OffsetModule(Reporter& r) : Module(r,"offset")
25{
26 addDescription(tr("Moves the outlines of polygons outward or inward by a given amount."));
27 addParameter("delta",tr("The amount to offset the polygon. The polygon is offset inwards, when negative."));
28}
29
30Node* OffsetModule::evaluate(const Context& ctx) const
31{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected