The SegmentByMesh class creates a mesh segment from two meshes whereat the facets of the first mesh that lie inside the second mesh build up the segment. More...
#include <FeatureMeshSegmentByMesh.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
SegmentByMesh () | |
methods overide 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::PropertyVector | Base |
App::PropertyVector | Normal |
App::PropertyLink | Source |
App::PropertyLink | Tool |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
The SegmentByMesh class creates a mesh segment from two meshes whereat the facets of the first mesh that lie inside the second mesh build up the segment.
Definition at line 43 of file FeatureMeshSegmentByMesh.h.
SegmentByMesh::SegmentByMesh | ( | void | ) |
Definition at line 46 of file FeatureMeshSegmentByMesh.cpp.
References ADD_PROPERTY.
void * Mesh::SegmentByMesh::create | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 43 of file FeatureMeshSegmentByMesh.cpp.
App::DocumentObjectExecReturn * SegmentByMesh::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from Mesh::Feature.
Definition at line 65 of file FeatureMeshSegmentByMesh.cpp.
References Base, draftlibs::fcvec::dist(), SketcherExample::f, Mesh2Shape::faces, FLOAT_MAX, getClassTypeId(), MeshCore::MeshKernel::GetFacet(), MeshCore::MeshAlgorithm::GetFacetsFromToolMesh(), Mesh::MeshObject::getKernel(), App::PropertyContainer::getPropertyByName(), App::Property::getTypeId(), Mesh::PropertyMeshKernel::getValue(), App::PropertyVector::getValue(), App::PropertyLink::getValue(), App::DocumentObject::isError(), Base::Vector3< _Precision >::Length(), Mesh::Feature::Mesh, Mesh2Shape::mesh, Normal, MeshCore::MeshAlgorithm::ResetFacetsFlag(), MeshCore::MeshFacetIterator::Set(), MeshCore::MeshAlgorithm::SetFacetFlag(), Mesh::PropertyMeshKernel::setValuePtr(), Source, App::DocumentObject::StdReturn, Tool, and MeshCore::MeshKernel::VisitNeighbourFacets().
Base::Type Mesh::SegmentByMesh::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 43 of file FeatureMeshSegmentByMesh.cpp.
Referenced by execute().
const App::PropertyData & Mesh::SegmentByMesh::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Mesh::Feature.
Definition at line 43 of file FeatureMeshSegmentByMesh.cpp.
const App::PropertyData * Mesh::SegmentByMesh::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Mesh::Feature.
Definition at line 43 of file FeatureMeshSegmentByMesh.cpp.
Base::Type Mesh::SegmentByMesh::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Mesh::Feature.
Definition at line 43 of file FeatureMeshSegmentByMesh.cpp.
void Mesh::SegmentByMesh::init | ( | void | ) | [static] |
Reimplemented from Mesh::Feature.
Definition at line 43 of file FeatureMeshSegmentByMesh.cpp.
Referenced by initMesh().
short SegmentByMesh::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 54 of file FeatureMeshSegmentByMesh.cpp.
References App::PropertyLink::getValue(), App::DocumentObject::isTouched(), App::Property::isTouched(), Source, and Tool.
Definition at line 52 of file FeatureMeshSegmentByMesh.h.
Referenced by execute().
Definition at line 53 of file FeatureMeshSegmentByMesh.h.
Referenced by execute().
Definition at line 50 of file FeatureMeshSegmentByMesh.h.
Referenced by execute(), and mustExecute().
Definition at line 51 of file FeatureMeshSegmentByMesh.h.
Referenced by execute(), and mustExecute().