28 Curve(
int ps=-1,
int pe=-1) : startPointID(ps), endPointID(pe), id(idCounter++)
29 { regions[0]=regions[1]=0; }
52 regions[0] = regions[1];
55 else if ( regions[1]==r )
76 int ID()
const {
return id; }
82 int startPointID, endPointID;
111 referenceGrid.
getVertices(minmax[0][0],minmax[1][0],
112 minmax[0][1],minmax[1][1]);
118 if ( curves.size()!=0 )
119 for (
int a=0; a<2; a++ )
127 for (
int a=0; a<2; a++ )
152 curves.erase(std::find(curves.begin(),curves.end(),c));
182 int ID()
const {
return id; }
194 std::vector<Curve*> curves;
201 static int idCounter;
234 Region(
dx,dy), umap_built(false), use_cutout(true) { }
265 Curve(ps,pe), nurbRep(nurb), localGrid(),
266 discretized(false), nPoints(-1), stretching(0)
286 return localGrid.
size() ? localGrid.
size(0) : nPoints>1 ? nPoints : 0 ;
325 for ( std::vector<Curve *>::iterator
c=curves.begin();
c!=curves.end();
c++ )
326 b=
min(b,(*c)->getRangeBound(side,axis));
331 for ( std::vector<Curve *>::iterator
c=curves.begin();
c!=curves.end();
c++ )
332 b=
max(b,(*c)->getRangeBound(side,axis));
361 std::vector<Curve *> curves;
362 std::vector<bool> reverse;