template<class T>
class gismo::gsPlanarDomain< T >
Class representing a Planar domain with an outer boundary and a number of holes.
The outer boundary is oriented CCW and the holes are CW.
|
given a matrix of points
- Parameters
-
u,returns | true if they lie on the boundary of the planar domain |
|
std::vector< gsCurveLoop< T > * > | m_loops |
|
gsMatrix< T, 2, 2 > | m_bbox |
|
bool | onBoundary (gsMatrix< T > const &u) |
|
std::ostream & | print (std::ostream &os) const |
| Prints the object as a string.
|
|
void | sampleLoop_into (int loopID, int npoints, int numEndPoints, gsMatrix< T > &u) |
| linearly discriti
|
|
gsMatrix< T > | sampleLoop (int loopID, int npoints=50, int numEndPoints=2) |
|
void | sampleCurve_into (int loopID, int curveID, int npoints, gsMatrix< T > &u) |
|
gsMatrix< T > | sampleCurve (int loopID, int curveID, int npoints=50) |
|
memory::unique_ptr< gsMesh< T > > | toMesh (int npoints=50) const |
| Return a triangulation of the planar domain.
|
|
uPtr | split (int startIndex, int endIndex, gsCurve< T > *newCurveThisFace, gsCurve< T > *newCurveNewFace) |
|
void | updateBoundingBox () |
|
gsMatrix< T > | splitCurve (size_t loopId, size_t curveId, T lengthRatio=.5) |
|
std::ostream & | operator<< (std::ostream &os, const gsPlanarDomain &pd) |
|