MeshPart::MeshAlgos Class Reference

The mesh algorithems container class. More...

#include <MeshAlgos.h>

List of all members.

Static Public Member Functions

static MeshCore::MeshKernelboolean (MeshCore::MeshKernel *Mesh1, MeshCore::MeshKernel *Mesh2, MeshCore::MeshKernel *pResult, int Type=0)
 makes a boolean add The int Type stears the boolean oberation: 0=add;1=intersection;2=diff
static void coarsen (MeshCore::MeshKernel *Mesh, float f)
 Coarsen the mesh.
static void cutByCurve (MeshCore::MeshKernel *pMesh, const std::vector< CurveProjector::FaceSplitEdge > &vSplitEdges)
static void cutByShape (const TopoDS_Shape &aShape, const MeshCore::MeshKernel *pMesh, MeshCore::MeshKernel *pToolMesh)
static void GetSampledCurves (const TopoDS_Edge &aEdge, std::vector< Base::Vector3f > &rclPoints, unsigned long ulNbOfPoints=30)
 helper to discredicice a Edge...
static void LoftOnCurve (MeshCore::MeshKernel &ResultMesh, const TopoDS_Shape &Shape, const std::vector< Base::Vector3f > &poly, const Base::Vector3f &up=Base::Vector3f(0, 0, 1), float MaxSize=0.1)
 creates a mesh loft on base of a curve and an up vector
static void offset (MeshCore::MeshKernel *Mesh, float fSize)
 Calculate per Vertex normales and adds the Normal property bag.
static void offsetSpecial (MeshCore::MeshKernel *Mesh, float fSize, float zmax, float zmin)
static void offsetSpecial2 (MeshCore::MeshKernel *Mesh, float fSize)

Detailed Description

The mesh algorithems container class.

Definition at line 52 of file MeshAlgos.h.


Member Function Documentation

MeshCore::MeshKernel * MeshAlgos::boolean ( MeshCore::MeshKernel Mesh1,
MeshCore::MeshKernel Mesh2,
MeshCore::MeshKernel pResult,
int  Type = 0 
) [static]

makes a boolean add The int Type stears the boolean oberation: 0=add;1=intersection;2=diff

Definition at line 169 of file MeshAlgos.cpp.

void MeshAlgos::coarsen ( MeshCore::MeshKernel Mesh,
float  f 
) [static]

Coarsen the mesh.

Definition at line 144 of file MeshAlgos.cpp.

References MeshCore::MeshKernel::Clear().

void MeshAlgos::cutByCurve ( MeshCore::MeshKernel pMesh,
const std::vector< CurveProjector::FaceSplitEdge > &  vSplitEdges 
) [static]

Definition at line 446 of file MeshAlgos.cpp.

References MeshCore::MeshTopoAlgorithm::SplitFacet().

void MeshAlgos::cutByShape ( const TopoDS_Shape &  aShape,
const MeshCore::MeshKernel pMesh,
MeshCore::MeshKernel pToolMesh 
) [static]

Definition at line 420 of file MeshAlgos.cpp.

static void MeshPart::MeshAlgos::GetSampledCurves ( const TopoDS_Edge &  aEdge,
std::vector< Base::Vector3f > &  rclPoints,
unsigned long  ulNbOfPoints = 30 
) [static]

helper to discredicice a Edge...

void MeshAlgos::LoftOnCurve ( MeshCore::MeshKernel ResultMesh,
const TopoDS_Shape &  Shape,
const std::vector< Base::Vector3f > &  poly,
const Base::Vector3f up = Base::Vector3f(0,0,1),
float  MaxSize = 0.1 
) [static]

creates a mesh loft on base of a curve and an up vector

Definition at line 484 of file MeshAlgos.cpp.

References MeshCore::MeshKernel::AddFacets(), Py::int, RobotExample::l, Sketcher::Tangent, and Base::Vector3< _Precision >::x.

Referenced by loftOnCurve().

void MeshAlgos::offset ( MeshCore::MeshKernel Mesh,
float  fSize 
) [static]

Calculate per Vertex normales and adds the Normal property bag.

Definition at line 51 of file MeshAlgos.cpp.

References MeshCore::MeshKernel::CalcVertexNormals(), MeshCore::MeshKernel::MovePoint(), and MeshCore::MeshKernel::RecalcBoundBox().

void MeshAlgos::offsetSpecial ( MeshCore::MeshKernel Mesh,
float  fSize,
float  zmax,
float  zmin 
) [static]
void MeshAlgos::offsetSpecial2 ( MeshCore::MeshKernel Mesh,
float  fSize 
) [static]

The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:29 2011 for FreeCAD by  doxygen 1.6.1