symfem.geometry¶
Geometry.
Attributes¶
Functions¶
|
Convert an input set of points to the correct format. |
|
Convert an input point to the correct format. |
|
Check if a point is inside an interval. |
|
Check if a point is inside a triangle. |
|
Check if a point is inside a quadrilateral. |
|
Check if a point is inside a tetrahedron. |
Module Contents¶
- symfem.geometry.PointType¶
- symfem.geometry.SetOfPoints¶
- symfem.geometry.PointTypeInput¶
- symfem.geometry.SetOfPointsInput¶
- symfem.geometry.parse_set_of_points_input(points: SetOfPointsInput) SetOfPoints¶
Convert an input set of points to the correct format.
- Parameters:
points – A set of points in some input format
- Returns:
A set of points
- symfem.geometry.parse_point_input(point: PointTypeInput) PointType¶
Convert an input point to the correct format.
- Parameters:
point – A point in some input fotmat
- Returns:
A point
- symfem.geometry.point_in_interval(point: PointType, interval: SetOfPoints) bool¶
Check if a point is inside an interval.
- Parameters:
point – The point
interval – The vertices of the interval
- Returns:
Is the point inside the interval?
- symfem.geometry.point_in_triangle(point: PointType, triangle: SetOfPoints) bool¶
Check if a point is inside a triangle.
- Parameters:
point – The point
traingle – The vertices of the triangle
- Returns:
Is the point inside the triangle?
- symfem.geometry.point_in_quadrilateral(point: PointType, quad: SetOfPoints) bool¶
Check if a point is inside a quadrilateral.
- Parameters:
point – The point
traingle – The vertices of the quadrilateral
- Returns:
Is the point inside the quadrilateral?
- symfem.geometry.point_in_tetrahedron(point: PointType, tetrahedron: SetOfPoints) bool¶
Check if a point is inside a tetrahedron.
- Parameters:
point – The point
traingle – The vertices of the tetrahedron
- Returns:
Is the point inside the tetrahedron?