#include <FeatureMeshSolid.h>
Public Member Functions | |
Cylinder () | |
virtual Base::Type | getTypeId (void) const |
methods override Feature | |
App::DocumentObjectExecReturn * | execute (void) |
recalculate the Feature | |
short | mustExecute () const |
mustExecute We call this method to check if the object was modified to be invoked. | |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Public Attributes | |
App::PropertyBool | Closed |
App::PropertyFloatConstraint | EdgeLength |
App::PropertyFloatConstraint | Length |
App::PropertyFloatConstraint | Radius |
App::PropertyIntegerConstraint | Sampling |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 79 of file FeatureMeshSolid.h.
Cylinder::Cylinder | ( | void | ) |
Definition at line 115 of file FeatureMeshSolid.cpp.
References ADD_PROPERTY, Mesh::floatRange, Mesh::intSampling, Base::Length, and Sketcher::Radius.
void * Mesh::Cylinder::create | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 113 of file FeatureMeshSolid.cpp.
App::DocumentObjectExecReturn * Cylinder::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from Mesh::Feature.
Definition at line 139 of file FeatureMeshSolid.cpp.
References Closed, Mesh::MeshObject::createCylinder(), EdgeLength, App::PropertyInteger::getValue(), App::PropertyBool::getValue(), App::PropertyFloat::getValue(), Length, Mesh::Feature::Mesh, Mesh2Shape::mesh, App::GeoFeature::Placement, Radius, Sampling, Mesh::PropertyMeshKernel::setValue(), and App::DocumentObject::StdReturn.
Base::Type Mesh::Cylinder::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 113 of file FeatureMeshSolid.cpp.
const App::PropertyData & Mesh::Cylinder::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Mesh::Feature.
Definition at line 113 of file FeatureMeshSolid.cpp.
const App::PropertyData * Mesh::Cylinder::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Mesh::Feature.
Definition at line 113 of file FeatureMeshSolid.cpp.
Base::Type Mesh::Cylinder::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Mesh::Feature.
Definition at line 113 of file FeatureMeshSolid.cpp.
void Mesh::Cylinder::init | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 113 of file FeatureMeshSolid.cpp.
Referenced by initMesh().
short Cylinder::mustExecute | ( | ) | const [virtual] |
mustExecute We call this method to check if the object was modified to be invoked.
If the object label or an argument is modified. If we must recompute the object - to call the method execute(). 0: no recompution is needed 1: recompution needed -1: the document examine all links of this object and if one is touched -> recompute
Reimplemented from App::DocumentObject.
Definition at line 128 of file FeatureMeshSolid.cpp.
References Closed, EdgeLength, App::Property::isTouched(), Length, Radius, and Sampling.
Definition at line 89 of file FeatureMeshSolid.h.
Referenced by execute(), and mustExecute().
Definition at line 88 of file FeatureMeshSolid.h.
Referenced by execute(), and mustExecute().
Definition at line 87 of file FeatureMeshSolid.h.
Referenced by execute(), and mustExecute().
Definition at line 86 of file FeatureMeshSolid.h.
Referenced by execute(), and mustExecute().
Definition at line 90 of file FeatureMeshSolid.h.
Referenced by execute(), and mustExecute().