| |
- Boost.Python.instance(__builtin__.object)
-
- Edge_circulator
- Edge_iterator
- Polygon_2
- Vertex_circulator
- Vertex_iterator
class Edge_circulator(Boost.Python.instance) |
|
circulator over edges |
|
- Method resolution order:
- Edge_circulator
- Boost.Python.instance
- __builtin__.object
Methods defined here:
- __iter__(...)
- next(...)
Data and other attributes defined here:
- __init__ = <built-in function __init__>
- Raises an exception
This class cannot be instantiated from Python
Data and other attributes inherited from Boost.Python.instance:
- __dict__ = <dictproxy object>
- __new__ = <built-in method __new__ of Boost.Python.class object>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- __weakref__ = <member '__weakref__' of 'Boost.Python.instance' objects>
|
class Edge_iterator(Boost.Python.instance) |
|
iterator over edges |
|
- Method resolution order:
- Edge_iterator
- Boost.Python.instance
- __builtin__.object
Methods defined here:
- __iter__(...)
- __len__(...)
- next(...)
Data and other attributes defined here:
- __init__ = <built-in function __init__>
- Raises an exception
This class cannot be instantiated from Python
Data and other attributes inherited from Boost.Python.instance:
- __dict__ = <dictproxy object>
- __new__ = <built-in method __new__ of Boost.Python.class object>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- __weakref__ = <member '__weakref__' of 'Boost.Python.instance' objects>
|
class Polygon_2(Boost.Python.instance) |
|
Implements a polygon in the two-dimensional Euclidean plane ExE. |
|
- Method resolution order:
- Polygon_2
- Boost.Python.instance
- __builtin__.object
Methods defined here:
- __delitem__(...)
- del poly[i] <==> poly.erase(i)
- __eq__(...)
- __getitem__(...)
- poly[i] -> Point_2
Returns the i-th vertex of poly.
- __init__(...)
- __len__(...)
- len(poly) <==> poly.size()
- __ne__(...)
- __repr__(...)
- poly.__repr__() <==> repr(poly)
- __setitem__(...)
- poly[i] = v
Modifies the i-th vertex of poly.
- __str__(...)
- poly.__str__() <==> str(poly)
- append(...)
- poly.append(self, Point_2 p) -> void
poly.append(p) <==> poly.push_back(p)
- area(...)
- poly.area() -> double
returns the signed area of poly.
- bbox(...)
- poly.bbox() -> Bbox_2
returns a bounding box containing poly.
- bottom_vertex_index(...)
- p.bottom_vertex_index() -> int
Returns the index of the bottommost vertex of the polygon p with the
smallest x-coordinate.
- bounded_side(...)
- poly.bounded_side(q) -> CGAL.Kernel.Bounded_side
Returns Kernel.Bounded_side.ON_BOUNDED_SIDE, Kernel.Bounded_side.ON_BOUNDARY
or CGAL.Kernel.Bounded_side.ON_UNBOUNDED_SIDE, depending on whether point q is
on the bounded side, the boundary, or the unbounded side of the polygon poly.
Precondition: poly.is_simple().
- clear(...)
- poly.clear(self) -> void
Erases all vertices.
- edge(...)
- poly.edge(self, i) -> Segment_2
Returns a reference to the i-th edge of poly.
- erase(...)
- poly.erase(self, i) -> void
Erases the i-th vertex of poly.
- has_on_boundary(...)
- poly.has_on_boundary( Point_2 p) -> bool
- has_on_bounded_side(...)
- poly.has_on_bounded_side( Point_2 p) -> bool
- has_on_negative_side(...)
- poly.has_on_negative_side( Point_2 p) -> bool
- has_on_positive_side(...)
- poly.has_on_positive_side( Point_2 p) -> bool
- has_on_unbounded_side(...)
- poly.has_on_unbounded_side( Point_2 p) -> bool
- insert(...)
- poly.insert(self, i, Point_2 v) -> void
Inserts the vertex v before the i-th vertex of poly.
- is_clockwise_oriented(...)
- poly.is_clockwise_oriented(self) -> bool
Returns whether poly is clockwise oriented.
- is_collinear_oriented(...)
- poly.is_collinear_oriented(self) -> bool
Returns whether poly is collinear oriented.
- is_convex(...)
- poly.is_convex(self) -> bool
Returns whether poly is convex.
- is_counterclockwise_oriented(...)
- poly.is_counterclockwise_oriented(self) -> bool
Returns whether poly is counterclockwise oriented.
- is_empty(...)
- poly.is_empty(self) -> bool
Returns whether poly.size() == 0.
- is_simple(...)
- poly.is_simple(self) -> bool
Returns whether poly is a simple polygon.
- left_vertex_index(...)
- p.left_vertex_index() -> int
Returns the index of the leftmost vertex of the polygon p with the
smallest y-coordinate.
- orientation(...)
- poly.orientation() -> Orientation
returns the orientation of poly.
- oriented_side(...)
- poly.oriented_side(q) -> Kernel.Sign
Returns CGAL.Kernel.Sign.SMALLER, CGAL.Kernel.Sign.EQUAL,
or CGAL.Kernel.Sign.LARGER, depending on where point q is.
Precondition: poly.is_simple().
- push_back(...)
- poly.push_back(self, Point_2 v) -> void
poly.push_back(v) <==> poly.insert(poly.size(), p)
- reverse_orientation(...)
- poly.reverse_orientation(self) -> void
Reverses the orientation of the polygon. The vertex poly[0] remains the same.
- right_vertex_index(...)
- p.right_vertex_index() -> int
Returns the index of the rightmost vertex of the polygon p with the
largest y-coordinate.
- size(...)
- poly.size(self) -> int
Returns the number of vertices of the polygon poly.
- top_vertex_index(...)
- p.top_vertex_index() -> int
Returns the index of the topmost vertex of the polygon p with the
largest x-coordinate.
Properties defined here:
- edges
- The sequence of the edges of the polygon.
- get = (...)
- edges_circulator
- The cyclic sequence of the edges of the polygon
- get = (...)
- vertices
- The sequence of the vertices of the polygon.
- get = (...)
- vertices_circulator
- The cyclic sequence of the vertices of the polygon.
- get = (...)
Data and other attributes defined here:
- __instance_size__ = 24
Data and other attributes inherited from Boost.Python.instance:
- __dict__ = <dictproxy object>
- __new__ = <built-in method __new__ of Boost.Python.class object>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- __weakref__ = <member '__weakref__' of 'Boost.Python.instance' objects>
|
class Vertex_circulator(Boost.Python.instance) |
|
circulator over vertices |
|
- Method resolution order:
- Vertex_circulator
- Boost.Python.instance
- __builtin__.object
Methods defined here:
- __iter__(...)
- next(...)
Data and other attributes defined here:
- __init__ = <built-in function __init__>
- Raises an exception
This class cannot be instantiated from Python
Data and other attributes inherited from Boost.Python.instance:
- __dict__ = <dictproxy object>
- __new__ = <built-in method __new__ of Boost.Python.class object>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- __weakref__ = <member '__weakref__' of 'Boost.Python.instance' objects>
|
class Vertex_iterator(Boost.Python.instance) |
|
iterator over vertices |
|
- Method resolution order:
- Vertex_iterator
- Boost.Python.instance
- __builtin__.object
Methods defined here:
- __iter__(...)
- __len__(...)
- next(...)
Data and other attributes defined here:
- __init__ = <built-in function __init__>
- Raises an exception
This class cannot be instantiated from Python
Data and other attributes inherited from Boost.Python.instance:
- __dict__ = <dictproxy object>
- __new__ = <built-in method __new__ of Boost.Python.class object>
- T.__new__(S, ...) -> a new object with type S, a subtype of T
- __weakref__ = <member '__weakref__' of 'Boost.Python.instance' objects>
| |