|
| | blender::PyDoc_STRVAR (M_Geometry_intersect_ray_tri_doc, ".. function:: intersect_ray_tri(v1, v2, v3, ray, orig, clip=True, /)\n" "\n" " Returns the intersection between a ray and a triangle, if possible, returns None " "otherwise.\n" "\n" " :param v1: Point1\n" " :type v1: :class:`mathutils.Vector`\n" " :param v2: Point2\n" " :type v2: :class:`mathutils.Vector`\n" " :param v3: Point3\n" " :type v3: :class:`mathutils.Vector`\n" " :param ray: Direction of the ray\n" " :type ray: :class:`mathutils.Vector`\n" " :param orig: Origin\n" " :type orig: :class:`mathutils.Vector`\n" " :param clip: When False, don't restrict the intersection to the area of the " "triangle, use the infinite plane defined by the triangle.\n" " :type clip: bool\n" " :return: The point of intersection or None if no intersection is found\n" " :rtype: :class:`mathutils.Vector` | None\n") |
| static PyObject * | blender::M_Geometry_intersect_ray_tri (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_intersect_line_line_doc, ".. function:: intersect_line_line(v1, v2, v3, v4, /)\n" "\n" " Returns a tuple with the points on each line respectively closest to the other.\n" "\n" " :param v1: First point of the first line\n" " :type v1: :class:`mathutils.Vector`\n" " :param v2: Second point of the first line\n" " :type v2: :class:`mathutils.Vector`\n" " :param v3: First point of the second line\n" " :type v3: :class:`mathutils.Vector`\n" " :param v4: Second point of the second line\n" " :type v4: :class:`mathutils.Vector`\n" " :return: The intersection on each line or None when the lines are parallel.\n" " :rtype: tuple[:class:`mathutils.Vector`, :class:`mathutils.Vector`] | None\n") |
| static PyObject * | blender::M_Geometry_intersect_line_line (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_intersect_sphere_sphere_2d_doc, ".. function:: intersect_sphere_sphere_2d(p_a, radius_a, p_b, radius_b, /)\n" "\n" " Returns the 2 intersection points of two circles.\n" "\n" " :param p_a: Center of the first circle\n" " :type p_a: :class:`mathutils.Vector`\n" " :param radius_a: Radius of the first circle\n" " :type radius_a: float\n" " :param p_b: Center of the second circle\n" " :type p_b: :class:`mathutils.Vector`\n" " :param radius_b: Radius of the second circle\n" " :type radius_b: float\n" " :return: The 2 intersection points or None when there is no intersection.\n" " :rtype: tuple[:class:`mathutils.Vector`, :class:`mathutils.Vector`] | " "tuple[None, None]\n") |
| static PyObject * | blender::M_Geometry_intersect_sphere_sphere_2d (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_intersect_tri_tri_2d_doc, ".. function:: intersect_tri_tri_2d(tri_a1, tri_a2, tri_a3, tri_b1, tri_b2, tri_b3, /)\n" "\n" " Check if two 2D triangles intersect.\n" "\n" " :param tri_a1: First vertex of the first triangle.\n" " :type tri_a1: :class:`mathutils.Vector`\n" " :param tri_a2: Second vertex of the first triangle.\n" " :type tri_a2: :class:`mathutils.Vector`\n" " :param tri_a3: Third vertex of the first triangle.\n" " :type tri_a3: :class:`mathutils.Vector`\n" " :param tri_b1: First vertex of the second triangle.\n" " :type tri_b1: :class:`mathutils.Vector`\n" " :param tri_b2: Second vertex of the second triangle.\n" " :type tri_b2: :class:`mathutils.Vector`\n" " :param tri_b3: Third vertex of the second triangle.\n" " :type tri_b3: :class:`mathutils.Vector`\n" " :return: True if the triangles intersect.\n" " :rtype: bool\n") |
| static PyObject * | blender::M_Geometry_intersect_tri_tri_2d (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_normal_doc, ".. function:: normal(*vectors)\n" "\n" " Returns the normal of a 3D polygon.\n" "\n" " :param vectors: 3 or more vectors to calculate normals.\n" " :type vectors: Sequence[Sequence[float]]\n" " :return: The normal vector.\n" " :rtype: :class:`mathutils.Vector`\n") |
| static PyObject * | blender::M_Geometry_normal (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_area_tri_doc, ".. function:: area_tri(v1, v2, v3, /)\n" "\n" " Returns the area of the 2D or 3D triangle defined.\n" "\n" " :param v1: Point1\n" " :type v1: :class:`mathutils.Vector`\n" " :param v2: Point2\n" " :type v2: :class:`mathutils.Vector`\n" " :param v3: Point3\n" " :type v3: :class:`mathutils.Vector`\n" " :return: The area of the triangle.\n" " :rtype: float\n") |
| static PyObject * | blender::M_Geometry_area_tri (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_volume_tetrahedron_doc, ".. function:: volume_tetrahedron(v1, v2, v3, v4, /)\n" "\n" " Return the absolute (unsigned) volume formed by a tetrahedron " "(points can be in any order).\n" "\n" " :param v1: Point1\n" " :type v1: :class:`mathutils.Vector`\n" " :param v2: Point2\n" " :type v2: :class:`mathutils.Vector`\n" " :param v3: Point3\n" " :type v3: :class:`mathutils.Vector`\n" " :param v4: Point4\n" " :type v4: :class:`mathutils.Vector`\n" " :return: The volume of the tetrahedron.\n" " :rtype: float\n") |
| static PyObject * | blender::M_Geometry_volume_tetrahedron (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_intersect_line_line_2d_doc, ".. function:: intersect_line_line_2d(lineA_p1, lineA_p2, lineB_p1, lineB_p2, /)\n" "\n" " Takes 2 segments (defined by 4 vectors) and returns a vector for their point of " "intersection or None.\n" "\n" " .. warning:: Despite its name, this function works on segments, and not on lines.\n" "\n" " :param lineA_p1: First point of the first segment\n" " :type lineA_p1: :class:`mathutils.Vector`\n" " :param lineA_p2: Second point of the first segment\n" " :type lineA_p2: :class:`mathutils.Vector`\n" " :param lineB_p1: First point of the second segment\n" " :type lineB_p1: :class:`mathutils.Vector`\n" " :param lineB_p2: Second point of the second segment\n" " :type lineB_p2: :class:`mathutils.Vector`\n" " :return: The point of intersection or None when not found\n" " :rtype: :class:`mathutils.Vector` | None\n") |
| static PyObject * | blender::M_Geometry_intersect_line_line_2d (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_intersect_line_plane_doc, ".. function:: intersect_line_plane(line_a, line_b, plane_co, plane_no, no_flip=False, /)\n" "\n" " Calculate the intersection between a line (as 2 vectors) and a plane.\n" " Returns a vector for the intersection or None.\n" "\n" " :param line_a: First point of the line\n" " :type line_a: :class:`mathutils.Vector`\n" " :param line_b: Second point of the line\n" " :type line_b: :class:`mathutils.Vector`\n" " :param plane_co: A point on the plane\n" " :type plane_co: :class:`mathutils.Vector`\n" " :param plane_no: The direction the plane is facing\n" " :type plane_no: :class:`mathutils.Vector`\n" " :param no_flip: Currently ignored.\n" " :type no_flip: bool\n" " :return: The point of intersection or None when not found\n" " :rtype: :class:`mathutils.Vector` | None\n") |
| static PyObject * | blender::M_Geometry_intersect_line_plane (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_intersect_plane_plane_doc, ".. function:: intersect_plane_plane(plane_a_co, plane_a_no, plane_b_co, plane_b_no, /)\n" "\n" " Return the intersection between two planes\n" "\n" " :param plane_a_co: Point on the first plane\n" " :type plane_a_co: :class:`mathutils.Vector`\n" " :param plane_a_no: Normal of the first plane\n" " :type plane_a_no: :class:`mathutils.Vector`\n" " :param plane_b_co: Point on the second plane\n" " :type plane_b_co: :class:`mathutils.Vector`\n" " :param plane_b_no: Normal of the second plane\n" " :type plane_b_no: :class:`mathutils.Vector`\n" " :return: The line of the intersection represented as a point and a vector or None if the " "intersection can't be calculated\n" " :rtype: tuple[:class:`mathutils.Vector`, :class:`mathutils.Vector`] | " "tuple[None, None]\n") |
| static PyObject * | blender::M_Geometry_intersect_plane_plane (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_intersect_line_sphere_doc, ".. function:: intersect_line_sphere(line_a, line_b, sphere_co, sphere_radius, clip=True, /)\n" "\n" " Takes a line (as 2 points) and a sphere (as a point and a radius) and\n" " returns the intersection\n" "\n" " :param line_a: First point of the line\n" " :type line_a: :class:`mathutils.Vector`\n" " :param line_b: Second point of the line\n" " :type line_b: :class:`mathutils.Vector`\n" " :param sphere_co: The center of the sphere\n" " :type sphere_co: :class:`mathutils.Vector`\n" " :param sphere_radius: Radius of the sphere\n" " :type sphere_radius: float\n" " :param clip: When False, don't restrict the intersection to the line segment.\n" " :type clip: bool\n" " :return: The intersection points as a pair of vectors " "(each is None when not found).\n" " :rtype: tuple[:class:`mathutils.Vector` | None, :class:`mathutils.Vector` | None]\n") |
| static PyObject * | blender::M_Geometry_intersect_line_sphere (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_intersect_line_sphere_2d_doc, ".. function:: intersect_line_sphere_2d(line_a, line_b, sphere_co, " "sphere_radius, clip=True, /)\n" "\n" " Takes a line (as 2 points) and a circle (as a point and a radius) and\n" " returns the intersection\n" "\n" " :param line_a: First point of the line\n" " :type line_a: :class:`mathutils.Vector`\n" " :param line_b: Second point of the line\n" " :type line_b: :class:`mathutils.Vector`\n" " :param sphere_co: The center of the circle\n" " :type sphere_co: :class:`mathutils.Vector`\n" " :param sphere_radius: Radius of the circle\n" " :type sphere_radius: float\n" " :param clip: When False, don't restrict the intersection to the line segment.\n" " :type clip: bool\n" " :return: The intersection points as a pair of vectors " "(each is None when not found).\n" " :rtype: tuple[:class:`mathutils.Vector` | None, :class:`mathutils.Vector` | None]\n") |
| static PyObject * | blender::M_Geometry_intersect_line_sphere_2d (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_intersect_point_line_doc, ".. function:: intersect_point_line(pt, line_p1, line_p2, /)\n" "\n" " Takes a point and a line and returns the closest point on the line and its " "parametric distance from the first point of the line. " "A value of 0.0 is the first point, 1.0 is the second, " "values outside [0, 1] are extrapolated.\n" "\n" " :param pt: Point\n" " :type pt: :class:`mathutils.Vector`\n" " :param line_p1: First point of the line\n" " :type line_p1: :class:`mathutils.Vector`\n" " :param line_p2: Second point of the line\n" " :type line_p2: :class:`mathutils.Vector`\n" " :return: The closest point on the line and its parametric distance from the first point.\n" " :rtype: tuple[:class:`mathutils.Vector`, float]\n") |
| static PyObject * | blender::M_Geometry_intersect_point_line (PyObject *, PyObject *const *args, Py_ssize_t nargs) |
| | blender::PyDoc_STRVAR (M_Geometry_intersect_point_line_segment_doc, ".. function:: intersect_point_line_segment(pt, seg_p1, seg_p2, /)\n" "\n" " Takes a point and a segment and returns the closest point on the segment " "and the distance to the segment.\n" "\n" " :param pt: Point\n" " :type pt: :class:`mathutils.Vector`\n" " :param seg_p1: First point of the segment\n" " :type seg_p1: :class:`mathutils.Vector`\n" " :param seg_p2: Second point of the segment\n" " :type seg_p2: :class:`mathutils.Vector`\n" " :return: The closest point on the segment and the distance to the segment.\n" " :rtype: tuple[:class:`mathutils.Vector`, float]\n") |
| static PyObject * | blender::M_Geometry_intersect_point_line_segment (PyObject *, PyObject *const *args, Py_ssize_t nargs) |
| | blender::PyDoc_STRVAR (M_Geometry_intersect_point_tri_doc, ".. function:: intersect_point_tri(pt, tri_p1, tri_p2, tri_p3, /)\n" "\n" " Takes 4 vectors: one is the point and the next 3 define the triangle. Projects " "the point onto the triangle plane and checks if it is within the triangle.\n" "\n" " :param pt: Point\n" " :type pt: :class:`mathutils.Vector`\n" " :param tri_p1: First point of the triangle\n" " :type tri_p1: :class:`mathutils.Vector`\n" " :param tri_p2: Second point of the triangle\n" " :type tri_p2: :class:`mathutils.Vector`\n" " :param tri_p3: Third point of the triangle\n" " :type tri_p3: :class:`mathutils.Vector`\n" " :return: Point on the triangle's plane or None if it's outside the triangle\n" " :rtype: :class:`mathutils.Vector` | None\n") |
| static PyObject * | blender::M_Geometry_intersect_point_tri (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_closest_point_on_tri_doc, ".. function:: closest_point_on_tri(pt, tri_p1, tri_p2, tri_p3, /)\n" "\n" " Takes 4 vectors: one is the point and the next 3 define the triangle.\n" "\n" " :param pt: Point\n" " :type pt: :class:`mathutils.Vector`\n" " :param tri_p1: First point of the triangle\n" " :type tri_p1: :class:`mathutils.Vector`\n" " :param tri_p2: Second point of the triangle\n" " :type tri_p2: :class:`mathutils.Vector`\n" " :param tri_p3: Third point of the triangle\n" " :type tri_p3: :class:`mathutils.Vector`\n" " :return: The closest point of the triangle.\n" " :rtype: :class:`mathutils.Vector`\n") |
| static PyObject * | blender::M_Geometry_closest_point_on_tri (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_intersect_point_tri_2d_doc, ".. function:: intersect_point_tri_2d(pt, tri_p1, tri_p2, tri_p3, /)\n" "\n" " Takes 4 vectors (using only the x and y coordinates): one is the point and the next 3 " "define the triangle. Returns a non-zero value if the point is within the triangle, otherwise " "0.\n" "\n" " :param pt: Point\n" " :type pt: :class:`mathutils.Vector`\n" " :param tri_p1: First point of the triangle\n" " :type tri_p1: :class:`mathutils.Vector`\n" " :param tri_p2: Second point of the triangle\n" " :type tri_p2: :class:`mathutils.Vector`\n" " :param tri_p3: Third point of the triangle\n" " :type tri_p3: :class:`mathutils.Vector`\n" " :return: 1 if inside with CCW winding, -1 if inside with CW winding, otherwise 0.\n" " :rtype: int\n") |
| static PyObject * | blender::M_Geometry_intersect_point_tri_2d (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_intersect_point_quad_2d_doc, ".. function:: intersect_point_quad_2d(pt, quad_p1, quad_p2, quad_p3, quad_p4, /)\n" "\n" " Takes 5 vectors (using only the x and y coordinates): one is the point and the " "next 4 define the quad,\n" " only the x and y are used from the vectors. Returns a non-zero value if the point is " "within the quad, otherwise 0.\n" " Works only with convex quads without singular edges.\n" "\n" " :param pt: Point\n" " :type pt: :class:`mathutils.Vector`\n" " :param quad_p1: First point of the quad\n" " :type quad_p1: :class:`mathutils.Vector`\n" " :param quad_p2: Second point of the quad\n" " :type quad_p2: :class:`mathutils.Vector`\n" " :param quad_p3: Third point of the quad\n" " :type quad_p3: :class:`mathutils.Vector`\n" " :param quad_p4: Fourth point of the quad\n" " :type quad_p4: :class:`mathutils.Vector`\n" " :return: 1 if inside with CCW winding, -1 if inside with CW winding, otherwise 0.\n" " :rtype: int\n") |
| static PyObject * | blender::M_Geometry_intersect_point_quad_2d (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_distance_point_to_plane_doc, ".. function:: distance_point_to_plane(pt, plane_co, plane_no, /)\n" "\n" " Returns the signed distance between a point and a plane " "(negative when below the normal).\n" "\n" " :param pt: Point\n" " :type pt: :class:`mathutils.Vector`\n" " :param plane_co: A point on the plane\n" " :type plane_co: :class:`mathutils.Vector`\n" " :param plane_no: The direction the plane is facing\n" " :type plane_no: :class:`mathutils.Vector`\n" " :return: The signed distance.\n" " :rtype: float\n") |
| static PyObject * | blender::M_Geometry_distance_point_to_plane (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_barycentric_transform_doc, ".. function:: barycentric_transform(point, tri_a1, tri_a2, tri_a3, tri_b1, tri_b2, tri_b3, " "/)\n" "\n" " Return a transformed point, the transformation is defined by 2 triangles.\n" "\n" " :param point: The point to transform.\n" " :type point: :class:`mathutils.Vector`\n" " :param tri_a1: source triangle vertex.\n" " :type tri_a1: :class:`mathutils.Vector`\n" " :param tri_a2: source triangle vertex.\n" " :type tri_a2: :class:`mathutils.Vector`\n" " :param tri_a3: source triangle vertex.\n" " :type tri_a3: :class:`mathutils.Vector`\n" " :param tri_b1: target triangle vertex.\n" " :type tri_b1: :class:`mathutils.Vector`\n" " :param tri_b2: target triangle vertex.\n" " :type tri_b2: :class:`mathutils.Vector`\n" " :param tri_b3: target triangle vertex.\n" " :type tri_b3: :class:`mathutils.Vector`\n" " :return: The transformed point\n" " :rtype: :class:`mathutils.Vector`\n") |
| static PyObject * | blender::M_Geometry_barycentric_transform (PyObject *, PyObject *args) |
| static void | blender::points_in_planes_fn (const float co[3], int i, int j, int k, void *user_data_p) |
| | blender::PyDoc_STRVAR (M_Geometry_points_in_planes_doc, ".. function:: points_in_planes(planes, epsilon_coplanar=1e-4, epsilon_isect=1e-6, /)\n" "\n" " Returns a list of points inside all planes given and a list of index values for " "the planes used.\n" "\n" " :param planes: List of planes (4D vectors).\n" " :type planes: list[:class:`mathutils.Vector`]\n" " :param epsilon_coplanar: Epsilon value for interpreting plane pairs as co-planar.\n" " :type epsilon_coplanar: float\n" " :param epsilon_isect: Epsilon value for intersection.\n" " :type epsilon_isect: float\n" " :return: Two lists, one containing the 3D coordinates inside the planes, " "another containing the plane indices used.\n" " :rtype: tuple[list[:class:`mathutils.Vector`], list[int]]\n") |
| static PyObject * | blender::M_Geometry_points_in_planes (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_interpolate_bezier_doc, ".. function:: interpolate_bezier(knot1, handle1, handle2, knot2, resolution, /)\n" "\n" " Interpolate a bezier spline segment.\n" "\n" " :param knot1: First bezier spline point.\n" " :type knot1: :class:`mathutils.Vector`\n" " :param handle1: First bezier spline handle.\n" " :type handle1: :class:`mathutils.Vector`\n" " :param handle2: Second bezier spline handle.\n" " :type handle2: :class:`mathutils.Vector`\n" " :param knot2: Second bezier spline point.\n" " :type knot2: :class:`mathutils.Vector`\n" " :param resolution: Number of points to return.\n" " :type resolution: int\n" " :return: The interpolated points.\n" " :rtype: list[:class:`mathutils.Vector`]\n") |
| static PyObject * | blender::M_Geometry_interpolate_bezier (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_tessellate_polygon_doc, ".. function:: tessellate_polygon(polylines, /)\n" "\n" " Takes a list of polylines (each point a pair or triplet of numbers) and returns " "the point indices for a polyline filled with triangles. Does not handle degenerate " "geometry (such as zero-length lines due to consecutive identical points).\n" "\n" " :param polylines: Polygons where each polygon is a sequence of 2D or 3D points.\n" " :type polylines: Sequence[Sequence[Sequence[float]]]\n" " :return: A list of triangles.\n" " :rtype: list[tuple[int, int, int]]\n") |
| static PyObject * | blender::M_Geometry_tessellate_polygon (PyObject *, PyObject *polyLineSeq) |
| static int | blender::boxPack_FromPyObject (PyObject *value, BoxPack **r_boxarray) |
| static void | blender::boxPack_ToPyObject (PyObject *value, const BoxPack *boxarray) |
| | blender::PyDoc_STRVAR (M_Geometry_box_pack_2d_doc, ".. function:: box_pack_2d(boxes, /)\n" "\n" " Returns a tuple with the width and height of the packed bounding box.\n" "\n" " :param boxes: list of boxes, each box is a list where the first 4 items are " "[X, Y, width, height, ...] other items are ignored. " "The X & Y values in this list are modified to set the packed positions.\n" " :type boxes: list[list[float]]\n" " :return: The width and height of the packed bounding box.\n" " :rtype: tuple[float, float]\n") |
| static PyObject * | blender::M_Geometry_box_pack_2d (PyObject *, PyObject *boxlist) |
| | blender::PyDoc_STRVAR (M_Geometry_box_fit_2d_doc, ".. function:: box_fit_2d(points, /)\n" "\n" " Returns an angle that best fits the points to an axis aligned rectangle\n" "\n" " :param points: Sequence of 2D points.\n" " :type points: Sequence[Sequence[float]]\n" " :return: The rotation angle in radians for the best axis-aligned bounding box fit.\n" " :rtype: float\n") |
| static PyObject * | blender::M_Geometry_box_fit_2d (PyObject *, PyObject *pointlist) |
| | blender::PyDoc_STRVAR (M_Geometry_convex_hull_2d_doc, ".. function:: convex_hull_2d(points, /)\n" "\n" " Returns the indices of the points forming the convex hull, in counter-clockwise order.\n" "\n" " :param points: Sequence of 2D points.\n" " :type points: Sequence[Sequence[float]]\n" " :return: Indices of convex hull vertices in counter-clockwise order.\n" " :rtype: list[int]\n") |
| static PyObject * | blender::M_Geometry_convex_hull_2d (PyObject *, PyObject *pointlist) |
| template<typename T> |
| static PyObject * | blender::list_of_lists_from_arrays (const Span< Vector< T > > data) |
| | blender::PyDoc_STRVAR (M_Geometry_delaunay_2d_cdt_doc, ".. function:: delaunay_2d_cdt(vert_coords, edges, faces, output_type, epsilon, " "need_ids=True, /)\n" "\n" " Computes the Constrained Delaunay Triangulation of a set of vertices,\n" " with edges and faces that must appear in the triangulation.\n" " Some triangles may be eaten away, or combined with other triangles,\n" " according to output type.\n" " The returned verts may be in a different order from input verts, may be moved\n" " slightly, and may be merged with other nearby verts.\n" " The three returned orig lists give, for each of verts, edges, and faces, the list of\n" " input element indices corresponding to the positionally same output element.\n" " For edges, the orig indices start with the input edges and then continue\n" " with the edges implied by each of the faces (n of them for an n-gon).\n" " If the need_ids argument is supplied, and False, then the code skips the preparation\n" " of the orig arrays, which may save some time.\n" "\n" " :param vert_coords: Vertex coordinates (2d)\n" " :type vert_coords: Sequence[:class:`mathutils.Vector`]\n" " :param edges: Edges, as pairs of indices in ``vert_coords``\n" " :type edges: Sequence[tuple[int, int]]\n" " :param faces: Faces, each sublist is a face, " "as indices in ``vert_coords`` (CCW oriented).\n" " :type faces: Sequence[Sequence[int]]\n" " :param output_type: What output looks like. 0 => triangles with convex hull. " "1 => triangles inside constraints. " "2 => the input constraints, intersected. " "3 => like 2 but detect holes and omit them from output. " "4 => like 2 but with extra edges to make valid BMesh faces. " "5 => like 4 but detect holes and omit them from output.\n" " :type output_type: int\n" " :param epsilon: For nearness tests; should not be zero\n" " :type epsilon: float\n" " :param need_ids: are the orig output arrays needed?\n" " :type need_ids: bool\n" " :return: Output tuple, (vert_coords, edges, faces, orig_verts, orig_edges, orig_faces)\n" " :rtype: tuple[" "list[:class:`mathutils.Vector`], " "list[tuple[int, int]], " "list[list[int]], " "list[list[int]], " "list[list[int]], " "list[list[int]]]\n") |
| static PyObject * | blender::M_Geometry_delaunay_2d_cdt (PyObject *, PyObject *args) |
| | blender::PyDoc_STRVAR (M_Geometry_doc, "The Blender geometry module.") |
| PyMODINIT_FUNC | blender::PyInit_mathutils_geometry () |