+ Rename methods

This commit is contained in:
wmayer 2014-01-12 21:42:46 +01:00
parent 99d10a6e49
commit ca3b87a719
2 changed files with 10 additions and 6 deletions

View File

@ -307,14 +307,18 @@ Orientation is not taken into account.</UserDocu>
<UserDocu>Project a shape on this shape</UserDocu>
</Documentation>
</Methode>
<Methode Name="makeCylindricalProjection" Const="true">
<Methode Name="makeParallelProjection" Const="true">
<Documentation>
<UserDocu>Cylindrical projection of an edge or wire on this shape</UserDocu>
<UserDocu>Parallel projection of an edge or wire on this shape
makeParallelProjection(shape, dir)
</UserDocu>
</Documentation>
</Methode>
<Methode Name="makeConicalProjection" Const="true">
<Methode Name="makePerspectiveProjection" Const="true">
<Documentation>
<UserDocu>Conical projection of an edge or wire on this shape</UserDocu>
<UserDocu>Perspective projection of an edge or wire on this shape
makePerspectiveProjection(shape, pnt)
</UserDocu>
</Documentation>
</Methode>
<Methode Name="makeShapeFromMesh">

View File

@ -1274,7 +1274,7 @@ PyObject* TopoShapePy::project(PyObject *args)
return 0;
}
PyObject* TopoShapePy::makeCylindricalProjection(PyObject *args)
PyObject* TopoShapePy::makeParallelProjection(PyObject *args)
{
PyObject *pShape, *pDir;
if (PyArg_ParseTuple(args, "O!O!", &(Part::TopoShapePy::Type), &pShape, &Base::VectorPy::Type, &pDir)) {
@ -1296,7 +1296,7 @@ PyObject* TopoShapePy::makeCylindricalProjection(PyObject *args)
return 0;
}
PyObject* TopoShapePy::makeConicalProjection(PyObject *args)
PyObject* TopoShapePy::makePerspectiveProjection(PyObject *args)
{
PyObject *pShape, *pDir;
if (PyArg_ParseTuple(args, "O!O!", &(Part::TopoShapePy::Type), &pShape, &Base::VectorPy::Type, &pDir)) {