WebCola
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Bi
Tangent
Bi
Tangents
Line
Segment
Point
Poly
Point
TVGPoint
Tangent
Visibility
Graph
constructor
E
P
V
add
Edge
IfVisible
add
Point
intersects
Polys
Visibility
Edge
Visibility
Vertex
Convex
Hull
LLtangent_
Poly
PolyC
LRtangent_
Poly
PolyC
Ltangent_
Point
PolyC
RLtangent_
Poly
PolyC
RRtangent_
Poly
PolyC
Rtangent_
Point
PolyC
above
below
clockwise
Radial
Sweep
intersects
is
AnyPInQ
is
Left
is
Point
Inside
Poly
next
Poly
Point
polys
Overlap
prev
Poly
Point
tangent_
Point
PolyC
tangent_
Poly
PolyC
tangents
Hierarchy
TangentVisibilityGraph
Index
Constructors
constructor
Properties
E
P
V
Methods
add
Edge
IfVisible
add
Point
intersects
Polys
Constructors
constructor
new
Tangent
Visibility
Graph
(
P
:
TVGPoint
[]
[]
, g0
?:
object
)
:
TangentVisibilityGraph
Parameters
P:
TVGPoint
[]
[]
Optional
g0:
object
E
:
VisibilityEdge
[]
V
:
VisibilityVertex
[]
Returns
TangentVisibilityGraph
Properties
E
E
:
VisibilityEdge
[]
= []
P
P
:
TVGPoint
[]
[]
V
V
:
VisibilityVertex
[]
= []
Methods
add
Edge
IfVisible
add
Edge
IfVisible
(
u
:
TVGPoint
, v
:
TVGPoint
, i1
:
number
, i2
:
number
)
:
void
Parameters
u:
TVGPoint
v:
TVGPoint
i1:
number
i2:
number
Returns
void
add
Point
add
Point
(
p
:
TVGPoint
, i1
:
number
)
:
VisibilityVertex
Parameters
p:
TVGPoint
i1:
number
Returns
VisibilityVertex
Private
intersects
Polys
intersects
Polys
(
l
:
LineSegment
, i1
:
number
, i2
:
number
)
:
boolean
Parameters
l:
LineSegment
i1:
number
i2:
number
Returns
boolean
Generated using
TypeDoc