示例#1
0
Triangle_Mesh& Triangle_Mesh::operator=(const Triangle_Mesh& orig){
	elements.clear();
	_vertecies.clear();
	for(Triangle tri : orig){
		Element(tri, *this);
	}
	return *this;
}
示例#2
0
void Triangle_Mesh::add(Triangle t){
	Element(t, *this);
}
示例#3
0
Triangle_Mesh::Triangle_Mesh(std::vector<Triangle> t){
	for(Triangle tri : t){
		Element(tri, *this);
	}
}
示例#4
0
Triangle_Mesh::Triangle_Mesh(const Triangle_Mesh& orig)
{
	for(Triangle t : orig.all_triangles()){
		Element(t, *this);
	}
}