IUVSurface_DG Interface
Methods:
 GetParameterRange
 IsClosed
 IsPeriodic
 GetPeriod
 GetIsometricCurve
 GetPoint
 GetNormal
 GetTangent
 GetSurfaceIntersection
 GetCurveIntersection
 GetRatiosAt
 GetParametersAtRatios
A surface in 3D with two dimentional (u,v) parameter
IUVSurface_DG can be obtained using IBRepFace_DG.GetSurface()
or methods of IBRepBuilder_DG
void GetParameterRange(bool u, double *min, double *max)
bool IsClosed(bool u)
bool IsPeriodic(bool u)
double GetPeriod(bool u)
ICurve_DG GetIsometricCurve(bool u, double parameterAt)
Point_DG GetPoint(DG2D uv)
Vect_DG GetNormal(DG2D uv)
Vect_DG GetTangent(DG2D uv, bool inUDirection)
ICurveArray_DG GetSurfaceIntersection(IUVSurface_DG surface)
void GetCurveIntersection(ICurve_DG curve, IPointArray_DG points, IPointArray_DG params, ICurveArray_DG segments, IPointArray_DG segmentParams)
Intersection of curve and this surface.
points contains distinct intersection points.
params is synchronised with points and contains correspondent triples (u,v,w), where u,v are parameters of the point on this surface and w is
parameter of the intersection point on the curve.
segments contains continuous pieces of nonzero length of curve, which are fully inside of this surface.
segmentParams has double size of segments. It consists of pairs of (u,v) points.
For a curve from segments the correspondent pair of (u,v) points in segmentParams are the u,v parameters of its first and last ends.
DG2D GetRatiosAt(DG2D uv)
Returns result of linear mapping of the min,max range as defined by the GetParameterRange() to [0,1] for each parameter. Ratios of (0.5, 0.5) correspond to the central point of the surface
Be aware that in case of infinite values returned by GetParameterRange() the mapping is not reliable.
DG2D GetParametersAtRatios(DG2D ratios)
The inverse mapping to one defined in GetRatiosAt()
