MeshCore::MeshSurfaceSegment Class Referenceabstract

#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< MeshSegmentsegments
 

Constructor & Destructor Documentation

◆ MeshSurfaceSegment()

MeshCore::MeshSurfaceSegment::MeshSurfaceSegment ( unsigned long  minFacets)

◆ ~MeshSurfaceSegment()

virtual MeshCore::MeshSurfaceSegment::~MeshSurfaceSegment ( )
virtual

Member Function Documentation

◆ AddFacet()

void MeshSurfaceSegment::AddFacet ( const MeshFacet rclFacet)
virtual

◆ 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

◆ GetType()

◆ Initialize()

void MeshSurfaceSegment::Initialize ( unsigned long  )
virtual

◆ TestFacet()

◆ TestInitialFacet()

bool MeshSurfaceSegment::TestInitialFacet ( unsigned long  ) const
virtual

Member Data Documentation

◆ minFacets

unsigned long MeshCore::MeshSurfaceSegment::minFacets
protected

Referenced by AddSegment().

◆ segments

std::vector<MeshSegment> MeshCore::MeshSurfaceSegment::segments
protected

Referenced by Mod.PartDesign.WizardShaft.Shaft.Shaft::addSegment(), Mod.PartDesign.WizardShaft.ShaftFeature.ShaftFeature::addSegment(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::addSegment(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::buildFromDict(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::clone(), automotive_design.composite_curve::closed_curve(), config_control_design.composite_curve::closed_curve(), ifc2x3.ifccompositecurve::closedcurve(), ifc4.ifccompositecurve::closedcurve(), 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(), automotive_design.composite_curve::n_segments(), config_control_design.composite_curve::n_segments(), automotive_design.rectangular_composite_surface::n_u(), config_control_design.rectangular_composite_surface::n_u(), automotive_design.rectangular_composite_surface::n_v(), config_control_design.rectangular_composite_surface::n_v(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::negate(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::negated(), ifc2x3.ifccompositecurve::nsegments(), ifc4.ifccompositecurve::nsegments(), 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:
  • Sources/FreeCAD/src/Mod/Mesh/App/Core/Segmentation.h
  • Sources/FreeCAD/src/Mod/Mesh/App/Core/Segmentation.cpp