Show / Hide Table of Contents

Interface IRestrictedDomain

Interface for surfaces with non rectangular definition space. Normally surfaces are either defined for all 2d values (infinite) or they are restricted to a rectangular domain (e.g. NurbsSurface). The NonPeriodicSurface is only defined on a circular area or on a ring. Maybe other surfaces with irregular domains will follow.

Namespace: CADability.GeoObject
Assembly: CADability.dll
Syntax
public interface IRestrictedDomain

Methods

| Improve this Doc View Source

Clip(ICurve2D)

Clip the provided curve at the bounds of the domain. The result are pairs of parameters of the curve, which define segments, that are inside the domain.

Declaration
double[] Clip(ICurve2D curve)
Parameters
Type Name Description
ICurve2D curve
Returns
Type Description
System.Double[]
| Improve this Doc View Source

IsInside(GeoPoint2D)

True, if the provided uv value is inside the definition domain

Declaration
bool IsInside(GeoPoint2D uv)
Parameters
Type Name Description
GeoPoint2D uv
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX