#include <Segmentation.h>
Public Member Functions | |
virtual void AddFacet (const MeshFacet &rclFacet) | |
void AddSegment (const std::vector< unsigned long > &) | |
MeshSegment FindSegment (unsigned long) const | |
const std::vector< MeshSegment > & GetSegments () const | |
virtual const char * GetType () const =0 | |
virtual void Initialize (unsigned long) | |
MeshSurfaceSegment (unsigned long minFacets) | |
virtual bool TestFacet (const MeshFacet &rclFacet) const =0 | |
virtual bool TestInitialFacet (unsigned long) const | |
virtual ~MeshSurfaceSegment () | |
Protected Attributes | |
unsigned long minFacets | |
std::vector< MeshSegment > segments | |
Constructor & Destructor Documentation
◆ MeshSurfaceSegment()
MeshCore::MeshSurfaceSegment::MeshSurfaceSegment | ( | unsigned long | minFacets | ) |
◆ ~MeshSurfaceSegment()
|
virtual |
Member Function Documentation
◆ AddFacet()
|
virtual |
Reimplemented in MeshCore::MeshDistanceGenericSurfaceFitSegment, and MeshCore::MeshDistancePlanarSegment.
Referenced by MeshCore::MeshSurfaceVisitor::Visit().
◆ AddSegment()
void MeshSurfaceSegment::AddSegment | ( | const std::vector< unsigned long > & | segm | ) |
References minFacets.
◆ FindSegment()
MeshSegment MeshSurfaceSegment::FindSegment | ( | unsigned long | index | ) | const |
References DraftVecUtils::find().
◆ GetSegments()
const std::vector<MeshSegment>& MeshCore::MeshSurfaceSegment::GetSegments | ( | ) | const |
Referenced by Mesh::MeshObject::getSegmentsOfType().
◆ GetType()
|
pure virtual |
◆ Initialize()
|
virtual |
Reimplemented in MeshCore::MeshDistanceGenericSurfaceFitSegment, and MeshCore::MeshDistancePlanarSegment.
◆ TestFacet()
|
pure virtual |
Implemented in MeshCore::MeshCurvatureFreeformSegment, MeshCore::MeshCurvatureSphericalSegment, MeshCore::MeshCurvatureCylindricalSegment, MeshCore::MeshCurvaturePlanarSegment, MeshCore::MeshDistanceGenericSurfaceFitSegment, and MeshCore::MeshDistancePlanarSegment.
Referenced by MeshCore::MeshSurfaceVisitor::AllowVisit().
◆ TestInitialFacet()
|
virtual |
Reimplemented in MeshCore::MeshDistanceGenericSurfaceFitSegment.
Member Data Documentation
◆ minFacets
|
protected |
Referenced by AddSegment().
◆ segments
|
protected |
Referenced by Mod.PartDesign.WizardShaft.ShaftFeature.ShaftFeature::addSegment(), Mod.PartDesign.WizardShaft.Shaft.Shaft::addSegment(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::addSegment(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::buildFromDict(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::clone(), Mod.PartDesign.WizardShaft.Shaft.Shaft::editConstraint(), Mod.PartDesign.WizardShaft.Shaft.Shaft::equilibrium(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::evaluate(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::findSegment(), Mod.PartDesign.WizardShaft.Shaft.Shaft::getConstraint(), Mod.PartDesign.WizardShaft.Shaft.Shaft::getLengthTo(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::index(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::integrate(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::isZero(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::lowervalue(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::negate(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::negated(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::output(), Mod.PartDesign.WizardShaft.Shaft.Shaft::showDiagram(), Mod.PartDesign.WizardShaft.Shaft.Shaft::updateConstraint(), Mod.PartDesign.WizardShaft.Shaft.Shaft::updateSegment(), and Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::value().
The documentation for this class was generated from the following files:
- src/Mod/Mesh/App/Core/Segmentation.h
- src/Mod/Mesh/App/Core/Segmentation.cpp