DG Kernel Documentation


Skip Navigation Links. Skip Navigation LinksHome Page > API Reference > General Geometry > IUVSurface_DG

IUVSurface_DG Interface

IUVSurface_DG can be obtained using IBRepFace_DG.GetSurface() or methods of IBRepBuilder_DG

Methods:

GetParameterRange
IsClosed
IsPeriodic
GetPeriod
GetIsometricCurve
GetPoint
GetNormal
GetTangent
GetSurfaceIntersection
GetCurveIntersection
GetRatiosAt
GetParametersAtRatios

A surface in 3D with two dimentional (u,v) parameter


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)


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()