Some simple svg output.
This commit is contained in:
parent
1fc730d413
commit
b101a5f87c
11 changed files with 87 additions and 6 deletions
|
@ -1,6 +1,7 @@
|
|||
#include "TriFace.h"
|
||||
|
||||
#include "Edge.h"
|
||||
#include "Node.h"
|
||||
|
||||
TriFace::TriFace(Edge* edge0, Edge* edge1, Edge* edge2, unsigned id)
|
||||
: AbstractFace(id),
|
||||
|
@ -73,3 +74,8 @@ void TriFace::associateWidthEdges()
|
|||
mEdge1->associateFace(mId);
|
||||
mEdge2->associateFace(mId);
|
||||
}
|
||||
|
||||
std::vector<Point> TriFace::getNodeLocations() const
|
||||
{
|
||||
return {mEdge0->getNode0()->getPoint(), mEdge0->getNode1()->getPoint(), mEdge1->getNode1()->getPoint()};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue