12 #include "geometrymod.h" 29 bool isEmpty()
const {
return !polygons_.size(); }
34 bool insertPolygon(
const Coord3& firstpos,
35 const Coord3& normal,
int polygon=0,
37 bool removePolygon(
int polygon);
40 bool removeKnot(
const RowCol&);
50 bool isKnotDefined(
const RowCol&)
const;
52 void setBezierCurveSmoothness(
int nrpoints_on_segment);
55 const float zscale)
const;
61 Coord3 getPolygonNormal(
int polygonnr)
const;
62 Coord3 getPolygonConcaveDir(
int polygonnr)
const;
64 void getExceptionEdges(
int plg,
TypeSet<int>& edges)
const;
65 void getPolygonConcaveTriangles(
int plg,
TypeSet<int>&)
const;
70 void addUdfPolygon(
int polygnr,
int firstknotnr,
int nrknots);
71 void addEditPlaneNormal(
const Coord3& normal);
73 char bodyDimension()
const;
79 bool linesegmentsIntersecting(
const Coord3& v0,
#define mExpClass(module)
Definition: commondefs.h:157
ChangeTag
Definition: polygonsurface.h:31
int beziernrpts_
Definition: polygonsurface.h:91
virtual StepInterval< int > colRange() const
ObjectSet< TypeSet< Coord3 > > polygons_
Definition: polygonsurface.h:86
TypeSet< Coord3 > polygonnormals_
Definition: polygonsurface.h:89
int nrPolygons() const
Definition: polygonsurface.h:42
Set of pointers to objects.
Definition: commontypes.h:28
#define __mUndefIntVal
Almost MAXINT so unlikely, but not MAXINT to avoid that.
Definition: undefval.h:23
3D point or vector
Definition: commontypes.h:57
Set of (small) copyable elements.
Definition: commontypes.h:26
Definition: rowcolsurface.h:24
int firstpolygon_
Definition: polygonsurface.h:84
Definition: geomelement.h:35
IdxPair used for its row() and col().
Definition: rowcol.h:23
Definition: polygonsurface.h:31
virtual StepInterval< int > colRange() const
Definition: polygonsurface.h:44
TypeSet< Coord3 > concavedirs_
Definition: polygonsurface.h:90
bool isEmpty() const
Definition: polygonsurface.h:29
Definition: polygonsurface.h:24
int getBezierCurveSmoothness() const
Definition: polygonsurface.h:53
Definition: arraytesselator.h:19
TypeSet< int > firstknots_
Definition: polygonsurface.h:85