Skip to content

Intersection

Public Class

Provides static methods for the computation of intersections, projections, sections and similar.

Inheritance Hierarchy

System.Object
Rhino.Geometry.Intersect.Intersection

Namespace: Rhino.Geometry.Intersect

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public static class Intersection

The Intersection type exposes the following members.

Properties

Name

Description


Public Property
Static Member
MeshIntersectionsTolerancesCoefficient

Offers a requested adjustment coefficient for mesh-mesh intersections tolerances. The value can be used to multiply the document absolute tolerance.

This is only a UI value; it is up to developer to honor (or not) this request, depending on application needs.


Methods

Name

Description


Public Method
Static Member

Intersects two arcs using exact calculations.


Public Method
Static Member

Intersects two Breps.


Public Method
Static Member

Intersects two Breps.


Public Method
Static Member

Intersects a Brep with an (infinite) plane.


Public Method
Static Member

Intersects a Brep and a Surface.


Public Method
Static Member

Intersects a Brep and a Surface.


Public Method
Static Member

Intersects two circles using exact calculations.


Public Method
Static Member
Code Example

Intersects a curve with a Brep. This function returns the 3D points of intersection and 3D overlap curves. If an error occurs while processing overlap curves, this function will return false, but it will still provide partial results.


Public Method
Static Member

Intersect a curve with a Brep. This function returns the intersection parameters on the curve.


Public Method
Static Member

Intersects a curve with a Brep. This function returns the 3D points of intersection, curve parameters at the intersection locations, and 3D overlap curves. If an error occurs while processing overlap curves, this function will return false, but it will still provide partial results.


Public Method
Static Member

Intersects a curve with a Brep face.


Public Method
Static Member
Code Example

Finds the intersections between two curves.


Public Method
Static Member

Finds the intersections between two curves.


Public Method
Static Member

Intersects a curve and an infinite line.


Public Method
Static Member

Intersects a curve with an (infinite) plane.


Public Method
Static Member

Finds the places where a curve intersects itself.


Public Method
Static Member
Code Example

Intersects a curve and a surface.


Public Method
Static Member

Intersects a sub-curve and a surface.


Public Method
Static Member

Intersects a curve and a surface.


Public Method
Static Member

Intersects a sub-curve and a surface.


Public Method
Static Member

Intersects an infinite line and an axis aligned bounding box.


Public Method
Static Member

Intersects an infinite line with a box volume.


Public Method
Static Member
Code Example

Intersects a line with a circle using exact calculations.


Public Method
Static Member

Intersects a line with a cylinder using exact calculations.


Public Method
Static Member
Code Example

Find the unique closest-points pair between two infinite lines, if it exists.


Public Method
Static Member
LineLine(Line, Line, Double., Double., Double, Boolean)

Intersects two lines.


Public Method
Static Member

Intersects a line and a plane. This function only returns true if the intersection result is a single point (i.e. if the line is coincident with the plane then no intersection is assumed).


Public Method
Static Member

Intersects a line with a sphere using exact calculations.


Public Method
Static Member

Finds the intersections of a mesh and a line.


Public Method
Static Member

Finds the intersections of a mesh and a line. The points are not necessarily sorted.


Public Method
Static Member

Finds the intersections of a mesh and a line. Points are sorted along the line.


Public Method
Static Member

Intersects meshes. Overlaps and perforations are provided in the output list.


Public Method
Static Member

Intersects two meshes. Overlaps and near misses are handled. This is an old method kept for compatibility.


Public Method
Static Member

This is an old overload kept for compatibility. Overlaps and near misses are ignored.


Public Method
Static Member

Determines if meshes intersect or overlap.


Public Method
Static Member

Intersects a mesh with an infinite plane.


Public Method
Static Member

Intersects a mesh with a collection of infinite planes.


Public Method
Static Member

Intersects a mesh with an infinite plane.


Public Method
Static Member

Intersects a mesh with a collection of infinite planes.


Public Method
Static Member

Finds the intersection of a mesh and a polyline. Starting from version 7, points are always sorted along the polyline.


Public Method
Static Member

Finds the intersection of a mesh and a polyline. Points are guaranteed to be sorted along the polyline.


Public Method
Static Member

Finds the first intersection of a ray with a mesh.


Public Method
Static Member
MeshRay(Mesh, Ray3d, .Int32..)

Finds the first intersection of a ray with a mesh.


Public Method
Static Member
PlaneBoundingBox

Intersects a plane and a bounding box.


Public Method
Static Member

Intersects a plane with a circle using exact calculations.


Public Method
Static Member

Intersects two planes and return the intersection line. If the planes are parallel or coincident, no intersection is assumed.


Public Method
Static Member

Intersects three planes to find the single point they all share.


Public Method
Static Member

Intersects a plane with a sphere using exact calculations.


Public Method
Static Member
Code Example

Projects points onto breps.


Public Method
Static Member

Projects points onto breps.


Public Method
Static Member

Projects points onto meshes.


Public Method
Static Member
Code Example

Projects points onto meshes.


Public Method
Static Member

Computes point intersections that occur when shooting a ray to a collection of surfaces and Breps.


Public Method
Static Member

Computes point intersections that occur when shooting a ray to a collection of surfaces and Breps.


Public Method
Static Member

Intersects two spheres using exact calculations.


Public Method
Static Member

Intersects two Surfaces.