RootCsg::TSplitFunction< TMesh, TSplitFunctionBinder > Class Template Reference

List of all members.

Public Member Functions

 TSplitFunction (TMesh &mesh, TSplitFunctionBinder &functionBindor)
void SplitPolygon (const Int_t p1Index, const TPlane3 &plane, Int_t &inPiece, Int_t &outPiece, const Double_t onEpsilon)
void Classify (typename TMesh::Polygon::TVPropList &inGroup, typename TMesh::Polygon::TVPropList &outGroup, Int_t classification, typename TMesh::Polygon::TVProp prop)

Private Attributes

TMeshfMesh
TSplitFunctionBinderfFunctionBinder

Detailed Description

template<class TMesh, class TSplitFunctionBinder>
class RootCsg::TSplitFunction< TMesh, TSplitFunctionBinder >

Definition at line 1761 of file CsgOps.cxx.


Constructor & Destructor Documentation

template<class TMesh, class TSplitFunctionBinder>
RootCsg::TSplitFunction< TMesh, TSplitFunctionBinder >::TSplitFunction ( TMesh mesh,
TSplitFunctionBinder functionBindor 
) [inline]

Definition at line 1767 of file CsgOps.cxx.


Member Function Documentation

template<class TMesh, class TSplitFunctionBinder>
void RootCsg::TSplitFunction< TMesh, TSplitFunctionBinder >::SplitPolygon ( const Int_t  p1Index,
const TPlane3 plane,
Int_t inPiece,
Int_t outPiece,
const Double_t  onEpsilon 
) [inline]

Definition at line 1770 of file CsgOps.cxx.

References RootCsg::TSplitFunction< TMesh, TSplitFunctionBinder >::Classify(), RootCsg::compute_classification(), RootCsg::TSplitFunctionBinder< CMesh >::ConnectPolygon(), RootCsg::TSplitFunctionBinder< CMesh >::DisconnectPolygon(), RootCsg::TVector3::Dot(), RootCsg::TSplitFunction< TMesh, TSplitFunctionBinder >::fFunctionBinder, RootCsg::TSplitFunction< TMesh, TSplitFunctionBinder >::fMesh, i, RootCsg::TSplitFunctionBinder< CMesh >::InsertVertexAlongEdge(), j, RootCsg::TPlane3::Normal(), p, RootCsg::TMesh< TPolygon, TVertex >::Polys(), RootCsg::TPlane3::SignedDistance(), and RootCsg::TMesh< TPolygon, TVertex >::Verts().

Referenced by RootCsg::TConnectedMeshWrapper< TMesh >::SplitPolygon(), and RootCsg::TMeshWrapper< TMesh >::SplitPolygon().

template<class TMesh, class TSplitFunctionBinder>
void RootCsg::TSplitFunction< TMesh, TSplitFunctionBinder >::Classify ( typename TMesh::Polygon::TVPropList &  inGroup,
typename TMesh::Polygon::TVPropList &  outGroup,
Int_t  classification,
typename TMesh::Polygon::TVProp  prop 
) [inline]

Definition at line 1829 of file CsgOps.cxx.

Referenced by RootCsg::TSplitFunction< TMesh, TSplitFunctionBinder >::SplitPolygon().


Member Data Documentation

template<class TMesh, class TSplitFunctionBinder>
TMesh& RootCsg::TSplitFunction< TMesh, TSplitFunctionBinder >::fMesh [private]

Definition at line 1763 of file CsgOps.cxx.

Referenced by RootCsg::TSplitFunction< TMesh, TSplitFunctionBinder >::SplitPolygon().

template<class TMesh, class TSplitFunctionBinder>
TSplitFunctionBinder& RootCsg::TSplitFunction< TMesh, TSplitFunctionBinder >::fFunctionBinder [private]

Definition at line 1764 of file CsgOps.cxx.

Referenced by RootCsg::TSplitFunction< TMesh, TSplitFunctionBinder >::SplitPolygon().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 17:00:48 2011 for ROOT_528-00b_version by  doxygen 1.5.1