1 #ifndef polygonsurface_h 2 #define polygonsurface_h 14 #include "geometrymod.h" 31 bool isEmpty()
const {
return !polygons_.size(); }
36 bool insertPolygon(
const Coord3& firstpos,
37 const Coord3& normal,
int polygon=0,
39 bool removePolygon(
int polygon);
42 bool removeKnot(
const RowCol&);
52 bool isKnotDefined(
const RowCol&)
const;
54 void setBezierCurveSmoothness(
int nrpoints_on_segment);
57 const float zscale)
const;
63 const Coord3& getPolygonNormal(
int polygonnr)
const;
64 const Coord3& getPolygonConcaveDir(
int polygonnr)
const;
66 void getExceptionEdges(
int plg,
TypeSet<int>& edges)
const;
67 void getPolygonConcaveTriangles(
int plg,
TypeSet<int>&)
const;
72 void addUdfPolygon(
int polygnr,
int firstknotnr,
int nrknots);
73 void addEditPlaneNormal(
const Coord3& normal);
75 char bodyDimension()
const;
81 bool linesegmentsIntersecting(
const Coord3& v0,
#define mExpClass(module)
Definition: commondefs.h:160
ChangeTag
Definition: polygonsurface.h:33
int beziernrpts_
Definition: polygonsurface.h:93
virtual StepInterval< int > colRange() const
ObjectSet< TypeSet< Coord3 > > polygons_
Definition: polygonsurface.h:88
TypeSet< Coord3 > polygonnormals_
Definition: polygonsurface.h:91
int nrPolygons() const
Definition: polygonsurface.h:44
Set of pointers to objects.
Definition: commontypes.h:32
#define __mUndefIntVal
Almost MAXINT so unlikely, but not MAXINT to avoid that.
Definition: undefval.h:25
Definition: rowcolsurface.h:26
int firstpolygon_
Definition: polygonsurface.h:86
A cartesian coordinate in 3D space.
Definition: coord.h:72
Definition: geomelement.h:37
IdxPair used for its row() and col().
Definition: rowcol.h:25
Definition: polygonsurface.h:33
virtual StepInterval< int > colRange() const
Definition: polygonsurface.h:46
TypeSet< Coord3 > concavedirs_
Definition: polygonsurface.h:92
bool isEmpty() const
Definition: polygonsurface.h:31
Definition: polygonsurface.h:26
int getBezierCurveSmoothness() const
Definition: polygonsurface.h:55
Definition: arraytesselator.h:21
TypeSet< int > firstknots_
Definition: polygonsurface.h:87