MCPcopy Create free account
hub / github.com/arrayfire/forge / Surface

Method Surface

src/api/cpp/surface.cpp:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace forge
17{
18Surface::Surface(unsigned pNumXPoints, unsigned pNumYPoints, dtype pDataType, PlotType pPlotType, MarkerType pMarkerType)
19{
20 fg_surface temp = 0;
21 FG_THROW(fg_create_surface(&temp, pNumXPoints, pNumYPoints, (fg_dtype)pDataType,
22 pPlotType, pMarkerType));
23 std::swap(mValue, temp);
24}
25
26Surface::Surface(const Surface& other)
27{

Callers

nothing calls this directly

Calls 3

fg_create_surfaceFunction · 0.85
fg_retain_surfaceFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected