8 #include <pybind11/pybind11.h>
9 #include <pybind11/stl.h>
10 #include <pybind11/stl_bind.h>
14 #include "../casters.h"
17 using namespace pybind11::literals;
21 py::class_<ccDish, ccGenericPrimitive>(m,
"ccDish", R
"doc(
26 radius : PointCoordinateType
28 height : PointCoordinateType
29 maximum height of dished surface above base
30 radius2 : PointCoordinateType, default = 0
31 If radius2 is zero, dish is drawn as a section of sphere.
32 If radius2 is >0, dish is defined as half of an ellipsoid.
34 optional 3D transformation (can be set afterwards with ccDrawableObject::setGLTransformation)
35 name : str, default: Sphere
36 name of the sphere object
43 dish = pycc.ccDish(1.0, 4.0)
55 "transMat"_a =
nullptr,
56 "name"_a = QString(
"Dish"),
float PointCoordinateType
Type of the coordinates of a (N-D) point.
void define_ccDish(py::module &m)
static const unsigned DEFAULT_DRAWING_PRECISION
Default drawing precision.
Float version of ccGLMatrixTpl.