The Blender geometry module
Returns the area size of the 2D or 3D triangle defined.
Parameters: 


Return type:  float 
Return a transformed point, the transformation is defined by 2 triangles.
Parameters: 


Returns:  The transformed point 
Return type: 
Returns the normal of the 3D tri or quad.
Parameters:  boxes (list) – list of boxes, each box is a list where the first 4 items are [x, y, width, height, ...] other items are ignored. 

Returns:  the width and height of the packed bounding box 
Return type:  tuple, pair of floats 
Returns the signed distance between a point and a plane (negative when below the normal).
Parameters: 


Return type:  float 
Interpolate a bezier spline segment.
Parameters: 


Returns:  The interpolated points 
Return type:  list of mathutils.Vector‘s 
Returns a tuple with the points on each line respectively closest to the other.
Parameters: 


Return type:  tuple of mathutils.Vector‘s 
Takes 2 lines (as 4 vectors) and returns a vector for their point of intersection or None.
Parameters: 


Returns:  The point of intersection or None when not found 
Return type:  mathutils.Vector or None 
Calculate the intersection between a line (as 2 vectors) and a plane. Returns a vector for the intersection or None.
Parameters: 


Returns:  The point of intersection or None when not found 
Return type:  mathutils.Vector or None 
Takes a lines (as 2 vectors), a sphere as a point and a radius and returns the intersection
Parameters: 


Returns:  The intersection points as a pair of vectors or None when there is no intersection 
Return type:  A tuple pair containing mathutils.Vector or None 
Takes a lines (as 2 vectors), a sphere as a point and a radius and returns the intersection
Parameters: 


Returns:  The intersection points as a pair of vectors or None when there is no intersection 
Return type:  A tuple pair containing mathutils.Vector or None 
Return the intersection between two planes
Parameters: 


Returns:  The line of the intersection represented as a point and a vector 
Return type:  tuple pair of mathutils.Vector 
Takes a point and a line and returns a tuple with the closest point on the line and its distance from the first point of the line as a percentage of the length of the line.
Parameters: 


Return type:  (mathutils.Vector, float) 
Takes 5 vectors (using only the x and y coordinates): one is the point and the next 4 define the quad, only the x and y are used from the vectors. Returns 1 if the point is within the quad, otherwise 0. Works only with convex quads without singular edges. :arg pt: Point :type pt: mathutils.Vector :arg quad_p1: First point of the quad :type quad_p1: mathutils.Vector :arg quad_p2: Second point of the quad :type quad_p2: mathutils.Vector :arg quad_p3: Third point of the quad :type quad_p3: mathutils.Vector :arg quad_p4: Forth point of the quad :type quad_p4: mathutils.Vector :rtype: int
Takes 4 vectors (using only the x and y coordinates): one is the point and the next 3 define the triangle. Returns 1 if the point is within the triangle, otherwise 0.
Parameters: 


Return type:  int 
Returns the intersection between a ray and a triangle, if possible, returns None otherwise.
Parameters: 


Returns:  The point of intersection or None if no intersection is found 
Return type:  mathutils.Vector or None 
Returns 2 points on between intersecting circles.
Parameters: 


Return type:  tuple of mathutils.Vector‘s or None when there is no intersection 
Returns the normal of the 3D tri or quad.
Parameters: 


Return type: 
Returns a list of points inside all planes given and a list of index values for the planes used.
Parameters:  planes (list of mathutils.Vector) – List of planes (4D vectors). 

Returns:  two lists, once containing the vertices inside the planes, another containing the plane indicies used 
Return type:  pair of lists 
Takes a list of polylines (each point a vector) and returns the point indices for a polyline filled with triangles.
Parameters:  veclist_list – list of polylines 

Return type:  list 
Return the volume formed by a tetrahedron (points can be in any order).
Parameters: 


Return type:  float 