QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
opennurbs_intersect.cpp File Reference
#include "opennurbs.h"

Functions

static int Intersect2dLineCircle (ON_2dPoint line_from, ON_2dPoint line_to, double r, double tol, double *t0, double *t1)
 
bool ON_Intersect (const ON_BoundingBox &bbox, const ON_Line &line, double tol, ON_Interval *line_parameters)
 
int ON_Intersect (const ON_Line &line, const ON_Arc &arc, double *line_t0, ON_3dPoint &arc_point0, double *line_t1, ON_3dPoint &arc_point1)
 
int ON_Intersect (const ON_Line &line, const ON_Circle &circle, double *line_t0, ON_3dPoint &circle_point0, double *line_t1, ON_3dPoint &circle_point1)
 
int ON_Intersect (const ON_Line &line, const ON_Cylinder &cylinder, ON_3dPoint &A, ON_3dPoint &B)
 
bool ON_Intersect (const ON_Line &line, const ON_Plane &plane, double *line_parameter)
 
int ON_Intersect (const ON_Line &line, const ON_Sphere &sphere, ON_3dPoint &A, ON_3dPoint &B)
 
bool ON_Intersect (const ON_Line &lineA, const ON_Line &lineB, double *lineA_parameter, double *lineB_parameter)
 
int ON_Intersect (const ON_Plane &plane, const ON_Arc &arc, ON_3dPoint &point0, ON_3dPoint &point1)
 
int ON_Intersect (const ON_Plane &plane, const ON_Circle &circle, ON_3dPoint &point0, ON_3dPoint &point1)
 
int ON_Intersect (const ON_Plane &plane, const ON_Sphere &sphere, ON_Circle &circle)
 
bool ON_Intersect (const ON_Plane &R, const ON_Plane &S, const ON_Plane &T, ON_3dPoint &P)
 
bool ON_Intersect (const ON_Plane &R, const ON_Plane &S, ON_Line &L)
 
int ON_Intersect (const ON_Sphere &sphere0, const ON_Sphere &sphere1, ON_Circle &circle)
 
bool ON_IntersectLineLine (const ON_Line &lineA, const ON_Line &lineB, double *a, double *b, double tolerance, bool bIntersectSegments)
 

Function Documentation

◆ Intersect2dLineCircle()

static int Intersect2dLineCircle ( ON_2dPoint line_from,
ON_2dPoint line_to,
double r,
double tol,
double * t0,
double * t1 )
static

◆ ON_Intersect() [1/13]

bool ON_Intersect ( const ON_BoundingBox & bbox,
const ON_Line & line,
double tol,
ON_Interval * line_parameters )

◆ ON_Intersect() [2/13]

int ON_Intersect ( const ON_Line & line,
const ON_Arc & arc,
double * line_t0,
ON_3dPoint & arc_point0,
double * line_t1,
ON_3dPoint & arc_point1 )

◆ ON_Intersect() [3/13]

int ON_Intersect ( const ON_Line & line,
const ON_Circle & circle,
double * line_t0,
ON_3dPoint & circle_point0,
double * line_t1,
ON_3dPoint & circle_point1 )

◆ ON_Intersect() [4/13]

int ON_Intersect ( const ON_Line & line,
const ON_Cylinder & cylinder,
ON_3dPoint & A,
ON_3dPoint & B )

◆ ON_Intersect() [5/13]

bool ON_Intersect ( const ON_Line & line,
const ON_Plane & plane,
double * line_parameter )

◆ ON_Intersect() [6/13]

int ON_Intersect ( const ON_Line & line,
const ON_Sphere & sphere,
ON_3dPoint & A,
ON_3dPoint & B )

◆ ON_Intersect() [7/13]

bool ON_Intersect ( const ON_Line & lineA,
const ON_Line & lineB,
double * lineA_parameter,
double * lineB_parameter )

◆ ON_Intersect() [8/13]

int ON_Intersect ( const ON_Plane & plane,
const ON_Arc & arc,
ON_3dPoint & point0,
ON_3dPoint & point1 )

◆ ON_Intersect() [9/13]

int ON_Intersect ( const ON_Plane & plane,
const ON_Circle & circle,
ON_3dPoint & point0,
ON_3dPoint & point1 )

◆ ON_Intersect() [10/13]

int ON_Intersect ( const ON_Plane & plane,
const ON_Sphere & sphere,
ON_Circle & circle )

◆ ON_Intersect() [11/13]

bool ON_Intersect ( const ON_Plane & R,
const ON_Plane & S,
const ON_Plane & T,
ON_3dPoint & P )

◆ ON_Intersect() [12/13]

bool ON_Intersect ( const ON_Plane & R,
const ON_Plane & S,
ON_Line & L )

◆ ON_Intersect() [13/13]

int ON_Intersect ( const ON_Sphere & sphere0,
const ON_Sphere & sphere1,
ON_Circle & circle )

◆ ON_IntersectLineLine()

bool ON_IntersectLineLine ( const ON_Line & lineA,
const ON_Line & lineB,
double * a,
double * b,
double tolerance,
bool bIntersectSegments )