The Blender geometry module
Undocumented (contribute)
Undocumented (contribute)
Undocumented (contribute)
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.
Return type: | (mathutils.Vector, float) |
---|---|
Parameters: |
|
Returns the intersection between a ray and a triangle, if possible, returns None otherwise.
Return type: | boolean |
---|---|
Parameters: |
|
Returns a tuple with the points on each line respectively closest to the other.
Return type: | tuple with elements being of type mathutils.Vector |
---|---|
Parameters: |
|
Takes 2 lines (as 4 vectors) and returns a vector for their point of intersection or None.
Return type: | |
---|---|
Parameters: |
|
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.
Return type: | int |
---|---|
Parameters: |
|
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.
Return type: | int |
---|---|
Parameters: |
|
Takes a list of polylines (each point a vector) and returns the point indicies for a polyline filled with triangles.
Return type: | list |
---|---|
Parameters: |
|
Returns the normal of the 3D quad defined.
Return type: | |
---|---|
Parameters: |
|
Returns the area size of the 2D or 3D triangle defined.
Return type: | float |
---|---|
Parameters: |
|
Returns the normal of the 3D triangle defined.
Return type: | |
---|---|
Parameters: |
|