Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-04-10 18:46:02 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-04-10 18:46:02 +0400
commit7a4a3ec62667f55a899cb9c075c8883bc00a54c8 (patch)
treee8c492124bf6ec12d82e5b8fd10967f6bfebc3f9 /source/blender/freestyle/intern/python/Interface1D/BPy_ViewEdge.cpp
parentcc3ca0f041a60924d3b5963f9cffeb927904966b (diff)
Removed duplicated definitions of verticesBegin(), verticesEnd(),
pointsBegin(), and pointsEnd(). All these methods are inherited from the Interface1D class.
Diffstat (limited to 'source/blender/freestyle/intern/python/Interface1D/BPy_ViewEdge.cpp')
-rw-r--r--source/blender/freestyle/intern/python/Interface1D/BPy_ViewEdge.cpp39
1 files changed, 0 insertions, 39 deletions
diff --git a/source/blender/freestyle/intern/python/Interface1D/BPy_ViewEdge.cpp b/source/blender/freestyle/intern/python/Interface1D/BPy_ViewEdge.cpp
index 2382c612530..837dbb700c9 100644
--- a/source/blender/freestyle/intern/python/Interface1D/BPy_ViewEdge.cpp
+++ b/source/blender/freestyle/intern/python/Interface1D/BPy_ViewEdge.cpp
@@ -36,10 +36,6 @@ static PyObject * ViewEdge_setId( BPy_ViewEdge *self, PyObject *args ) ;
static PyObject * ViewEdge_UpdateFEdges( BPy_ViewEdge *self );
static PyObject * ViewEdge_setaShape( BPy_ViewEdge *self, PyObject *args );
static PyObject * ViewEdge_setQI( BPy_ViewEdge *self, PyObject *args );
-static PyObject * ViewEdge_verticesBegin( BPy_ViewEdge *self );
-static PyObject * ViewEdge_verticesEnd( BPy_ViewEdge *self );
-static PyObject * ViewEdge_pointsBegin( BPy_ViewEdge *self, PyObject *args );
-static PyObject * ViewEdge_pointsEnd( BPy_ViewEdge *self, PyObject *args );
static PyObject * ViewEdge_qi( BPy_ViewEdge *self );
@@ -64,10 +60,6 @@ static PyMethodDef BPy_ViewEdge_methods[] = {
{"UpdateFEdges", ( PyCFunction ) ViewEdge_UpdateFEdges, METH_NOARGS, "() Sets ViewEdge to this for all embedded fedges"},
{"setaShape", ( PyCFunction ) ViewEdge_setaShape, METH_VARARGS, "(ViewShape vs) Sets the occluded ViewShape"},
{"setQI", ( PyCFunction ) ViewEdge_setQI, METH_VARARGS, "(int qi) Sets the quantitative invisibility value."},
- {"verticesBegin", ( PyCFunction ) ViewEdge_verticesBegin, METH_NOARGS, "() Returns an Interface0DIterator to iterate over the SVertex constituing the embedding of this ViewEdge. The returned Interface0DIterator points to the first SVertex of the ViewEdge."},
- {"verticesEnd", ( PyCFunction ) ViewEdge_verticesEnd, METH_NOARGS, "() Returns an Interface0DIterator to iterate over the SVertex constituing the embedding of this ViewEdge. The returned Interface0DIterator points after the last SVertex of the ViewEdge."},
- {"pointsBegin", ( PyCFunction ) ViewEdge_pointsBegin, METH_VARARGS, "(float t=0) Returns an Interface0DIterator to iterate over the points of this ViewEdge at a given resolution t. The returned Interface0DIterator points on the first Point of the ViewEdge."},
- {"pointsEnd", ( PyCFunction ) ViewEdge_pointsEnd, METH_VARARGS, "(float t=0) Returns an Interface0DIterator to iterate over the points of this ViewEdge at a given resolution t. The returned Interface0DIterator points after the last Point of the ViewEdge."},
{"qi", ( PyCFunction ) ViewEdge_qi, METH_NOARGS, "() Returns the quantitative invisibility of the ViewEdge."},
{NULL, NULL, 0, NULL}
};
@@ -310,37 +302,6 @@ PyObject * ViewEdge_setQI( BPy_ViewEdge *self, PyObject *args ) {
Py_RETURN_NONE;
}
-PyObject * ViewEdge_verticesBegin( BPy_ViewEdge *self ) {
- Interface0DIterator if0D_it( self->ve->verticesBegin() );
- return BPy_Interface0DIterator_from_Interface0DIterator( if0D_it, 0 );
-}
-
-PyObject * ViewEdge_verticesEnd( BPy_ViewEdge *self ) {
- Interface0DIterator if0D_it( self->ve->verticesEnd() );
- return BPy_Interface0DIterator_from_Interface0DIterator( if0D_it, 1 );
-}
-
-
-PyObject * ViewEdge_pointsBegin( BPy_ViewEdge *self, PyObject *args ) {
- float f = 0;
-
- if(!( PyArg_ParseTuple(args, "|f", &f) ))
- return NULL;
-
- Interface0DIterator if0D_it( self->ve->pointsBegin(f) );
- return BPy_Interface0DIterator_from_Interface0DIterator( if0D_it, 0 );
-}
-
-PyObject * ViewEdge_pointsEnd( BPy_ViewEdge *self, PyObject *args ) {
- float f = 0;
-
- if(!( PyArg_ParseTuple(args, "|f", &f) ))
- return NULL;
-
- Interface0DIterator if0D_it( self->ve->pointsEnd(f) );
- return BPy_Interface0DIterator_from_Interface0DIterator( if0D_it, 1 );
-}
-
PyObject * ViewEdge_qi( BPy_ViewEdge *self ) {
return PyLong_FromLong( self->ve->qi() );
}