ECircle::GetIntersectionOfLineAndCircle

Computes the intersections between a line and circle. Returns the number of intersections and stores the found intersections in the provided point parameters.

Namespace: Euresys::Open_eVision

[C++]

static int GetIntersectionOfLineAndCircle(
   const ELine& line,
   const ECircle& circle,
   EPoint& intersection1,
   EPoint& intersection2,
   bool limited
)

Parameters

line

The line

circle

The circle

intersection1

The first intersection

intersection2

The second intersection

limited

Indicates if the line and circle parameters should be considered as infinite lines and full circles or as a segments and arcs.

Remarks

The function returns the number of intersections found.

ECircle.GetIntersectionOfLineAndCircle

Computes the intersections between a line and circle. Returns the number of intersections and stores the found intersections in the provided point parameters.

Namespace: Euresys.Open_eVision

[C#]

static int GetIntersectionOfLineAndCircle(
   ELine line,
   ECircle circle,
   EPoint intersection1,
   EPoint intersection2,
   bool limited
)

Parameters

line

The line

circle

The circle

intersection1

The first intersection

intersection2

The second intersection

limited

Indicates if the line and circle parameters should be considered as infinite lines and full circles or as a segments and arcs.

Remarks

The function returns the number of intersections found.

ECircle.GetIntersectionOfLineAndCircle

Computes the intersections between a line and circle. Returns the number of intersections and stores the found intersections in the provided point parameters.

Module: open_evision

[Python]

@staticmethod
GetIntersectionOfLineAndCircle(
    line: ELine
    circle: ECircle
    intersection1: EPoint
    intersection2: EPoint
    limited: bool
) -> int

@staticmethod
GetIntersectionOfLineAndCircle(
    line: ELine
    circle: ECircle
    intersection1: EPoint
    intersection2: EPoint
) -> int

Parameters

line

The line

circle

The circle

intersection1

The first intersection

intersection2

The second intersection

limited

Indicates if the line and circle parameters should be considered as infinite lines and full circles or as a segments and arcs.

Remarks

The function returns the number of intersections found.