pyleecan.Methods.Geometry.Surface.is_inside module¶
- is_inside(self, Z, if_online=False)[source]¶
- Determine if a given point is inside the surface.
If the point is on the line defining the surface, by default it will be considered as outside
- Parameters:
self (Surface) – A Surface object
Z (complex) – Point that we want to check if it is in the surface
if_online (bool) – True to consider the point on the line as in the surface False to consider the point on the line as out of the surface
- Returns:
is_inside – True : the point is inside the surface False : the point is outside the surface
- Return type:
bool