Home | Trees | Indices | Help |
|
---|
|
Clip a path or polygon.
Clip a path or polygon of LatLon
points against a
rectangular box or a (convex) clip region.
Version: 22.02.03
Classes | |
ClipError Clip box or clip region issue. |
|
ClipCS4Tuple 4-Tuple (start, end, i, j) for each edge of a
clipped path with the start and
end points (LatLon ) of the portion of the
edge inside or on the clip box and the indices i and
j (int ) of the edge start and end points
in the original path.
|
|
ClipLB6Tuple 6-Tuple (start, end, i, fi, fj, j) for each edge of
the clipped path with the start and
end points (LatLon ) of the portion of the
edge inside or on the clip box, indices i and
j (both int ) of the original path edge
start and end points and fractional indices fi
and fj (both FIx) of the start and
end points along the edge of the original path.
|
|
ClipSH3Tuple 3-Tuple (start, end, original) for each edge of a
clipped polygon, the start and end
points (LatLon ) of the portion of the edge inside or
on the clip region and original indicates whether the
edge is part of the original polygon or part of the clip region
(bool ).
|
Functions | |||
|
|||
|
|||
|
|||
|
Variables | |
__all__ = _ALL_LAZY.clipy
|
Function Details |
Clip a path against a rectangular clip box using the Cohen-Sutherland algorithm.
|
Clip a path against a rectangular clip box using the Liang-Barsky algorithm.
|
Clip a polygon against a clip region or box using the Sutherland-Hodgman algorithm.
|
Clip a polygon against a clip region or box using the Sutherland-Hodgman algorithm.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed May 4 16:33:49 2022 | http://epydoc.sourceforge.net |