Commit 8213a2ab authored by Mathias Goldau's avatar Mathias Goldau
Browse files

[DOC #262]

parent cc213131
......@@ -45,6 +45,14 @@
struct Triangle
{
size_t pointID[3]; //!< the ID of the vertices representing the triangle corners
/**
* Compares two triangles if they share the same positions.
*
* \param rhs other Triangle
*
* \return True if they have the same points in same order otherwise false.
*/
bool operator==( const Triangle& rhs ) const;
};
......@@ -69,6 +77,14 @@ namespace tm_utils
*/
boost::shared_ptr< std::list< boost::shared_ptr< WTriangleMesh > > > componentDecomposition( const WTriangleMesh& mesh );
/**
* Output operator for TriangleMeshes.
*
* \param os output stream
* \param rhs the instance to print to the stream
*
* \return output stream again
*/
std::ostream& operator<<( std::ostream& os, const WTriangleMesh& rhs );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment