+ Subsitute symbol by expression in equations and return the resulting
+ domain.
+ .. py:method:: fromstring(cls, string)
+
+ Convert a string into a domain.
+
+ .. py:method:: fromsympy(cls, expr)
+
+ Convert a SymPy expression into a domain.
+
+ .. py:method:: tosympy(self)
+
+ Convert a domain into a SymPy expression.
A 2D or 3D domain can be plotted using the :meth:`plot` method. The points, vertices, and faces of a domain can be inspected using the following functions.
.. py:method:: points(self)
A 2D or 3D domain can be plotted using the :meth:`plot` method. The points, vertices, and faces of a domain can be inspected using the following functions.
.. py:method:: points(self)
- Return a list of the points contained in a domain as :class:`Points` objects.
+ Return a list of the points with integer coordinates contained in a domain as :class:`Points` objects.
+
+ .. py:method:: __contains__(self, point)
+
+ Return ``True`` if point if contained within the domain.
.. py:method:: vertices(self)
.. py:method:: vertices(self)
@@ -129,4+177,4 @@ A 2D or 3D domain can be plotted using the :meth:`plot` method. The points, vert
.. py:method:: plot(self, plot=None, **kwargs)
.. py:method:: plot(self, plot=None, **kwargs)
- Return a plot of the given domain or add a plot to a plot instance.
+ Return a plot of the given domain or add a plot to a plot instance, using matplotlib.