Coral 0.2.17 candidate API
Preparing search index...
@coral-viz/render/layout
segmentIntersectsBox
Function segmentIntersectsBox
segmentIntersectsBox
(
a
:
Point
,
b
:
Point
,
box
:
{
height
:
number
;
width
:
number
;
x
:
number
;
y
:
number
}
,
)
:
boolean
True for penetration of the open interior; touching the frame is allowed.
Parameters
a
:
Point
b
:
Point
box
:
{
height
:
number
;
width
:
number
;
x
:
number
;
y
:
number
}
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coral 0.2.17 candidate API
Loading...
True for penetration of the open interior; touching the frame is allowed.