15 #ifndef __GU_IsectCurveSet_h__
16 #define __GU_IsectCurveSet_h__
58 void getArea(
float &areaxy,
float &areazw,
int dir)
const;
61 void getLength(
float &lengthxy,
float &lengthzw)
const;
65 float getLength(
int surface)
const;
88 {
return myPoints[0] == curve.myPoints[0]; }
92 int getEndPoint(
int idx,
UT_Vector4 &pt)
const;
93 int setEndPoint(
int idx,
const UT_Vector4 &pt);
98 int signxy = 1,
int signzw = 1);
104 {
return myDirection[surfside]; }
106 { myDirection[surfside] = dir; }
115 float tol = 1e-3F)
const;
120 void createProfile(
int surface,
int direction,
123 float tol = 1e-3F)
const;
129 float tol = 1e-3F)
const;
133 float tol = 1e-3F)
const;
137 GU_IsectPoint *myPoints[2];
138 GU_IsectPoint *myLastPoint;
153 int verifyNetwork()
const;
171 {
return (myCurves.entries()) ? 0 : 1; }
172 int numCurves()
const {
return (
int)myCurves.entries(); }
177 { mySurfXY = surfxy; mySurfZW = surfzw; }
191 {
return myCurves == curveSet.myCurves; }
196 float tol, GU_IsectNode *
ignore)
const;
197 GU_IsectNode *createNode(
const UT_Vector4 &p);
207 void compact(
const UT_Vector4 &tol,
float looptolxy,
208 float looptolzw,
int ignoredir=1);
213 int resolveTachnodes(
int surface,
float tol);
216 void findCurveDirections(
int signxy = 1,
int signzw = 1);
229 bool *buildloop = 0)
const;
234 float tol = 1e-3F)
const;
238 void stretchToDomain(
int surface,
246 void clearNodeList();
252 int mergeLoops(
float looptolxy,
float looptolzw);
255 int joinAdjacent(
int ignoredir);
GU_IsectNode * getNode(int idx) const
void setDirection(int surfside, int dir)
GU_IsectCurve *& operator()(int i)
IMF_EXPORT IMATH_NAMESPACE::V3f direction(const IMATH_NAMESPACE::Box2i &dataWindow, const IMATH_NAMESPACE::V2f &pixelPosition)
void setNode(int idx, GU_IsectNode *node)
GLuint GLsizei GLsizei * length
void setSurfaces(GEO_TPSurf *surfxy, GEO_TPSurf *surfzw)
void ignore(T const &) VULKAN_HPP_NOEXCEPT
void trim(std::string &s)
int operator==(const GU_IsectCurve &curve)
int getDirection(int surfside) const
GU_IsectCurve * operator()(int i) const
int operator==(const GU_IsectCurveSet &curveSet)