Intersect
verb.geom.Intersect
CLASS
A class providing simplified access to verb's intersection tools. Intersect contains only static methods.
Similar to NurbsCurve
and NurbsSurface
, Intersect
provides asynchronous versions of all of its methods.
curves
STATIC METHOD
curves(first : ICurve, second : ICurve, tol : Float, e-3 : undefined) : Array<CurveCurveIntersection>
Determine the intersection of two curves
params
- ICurve object
- ICurve object
- tolerance for the intersection
returns
- a possibly empty array of CurveCurveIntersection objects
curvesAsync
STATIC METHOD
curvesAsync(first : ICurve, second : ICurve, tol : Float, e-3 : undefined) : Promise<Array<CurveCurveIntersection>>
The async version of curves
curveAndSurface
STATIC METHOD
curveAndSurface(curve : ICurve, surface : ISurface, tol : Float, e-3 : undefined) : Array<CurveSurfaceIntersection>
Determine the intersection of a curve and a surface
params
- ICurve
- ISurface
- tolerance for the curve intersection
returns
- array of CurveSurfaceIntersection objects
curveAndSurfaceAsync
STATIC METHOD
curveAndSurfaceAsync(curve : ICurve, surface : ISurface, tol : Float, e-3 : undefined) : Promise<Array<CurveSurfaceIntersection>>
The async version of curveAndSurface
surfaces
STATIC METHOD
surfaces(first : ISurface, second : ISurface, tol : Float, e-3 : undefined) : Array<NurbsCurve>
Determine the intersection of two surfaces
params
- ISurface
- ISurface
returns
- array of NurbsCurveData objects
surfacesAsync
STATIC METHOD
surfacesAsync(first : ISurface, second : ISurface, tol : Float, e-3 : undefined) : Promise<Array<NurbsCurve>>
The async version of surfaces