File size: 922 Bytes
985c397
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// SPDX-License-Identifier: LGPL-2.1-or-later


#include "MeasureBase.h"

// Inclusion of the generated files (generated out of MeasureBasePy.xml)
#include "MeasureBasePy.h"
#include "MeasureBasePy.cpp"


#include <Base/GeometryPyCXX.h>


// returns a string which represents the object e.g. when printed in python
std::string MeasureBasePy::representation() const
{
    return "<Measure::MeasureBase>";
}

PyObject* MeasureBasePy::PyMake(struct _typeobject*, PyObject*, PyObject*)  // Python wrapper
{
    // create a new instance of MeasureBasePy and the Twin object
    return new MeasureBasePy(new MeasureBase);
}


// constructor method
int MeasureBasePy::PyInit(PyObject* /*args*/, PyObject* /*kwd*/)
{
    return 0;
}

PyObject* MeasureBasePy::getCustomAttributes(const char* /*attr*/) const
{
    return nullptr;
}

int MeasureBasePy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
{
    return 0;
}