Geometry Computations#
Ellipse#
colour.geometry
|
Return the general form ellipse coefficients from given canonical form ellipse coefficients. |
|
Return the canonical form ellipse coefficients from given general form ellipse coefficients. |
|
Return the coordinates of the point at angle \(\phi\) in degrees on the ellipse with given canonical form coefficients. |
Supported ellipse fitting methods. |
|
|
Return the coefficients of the implicit second-order polynomial/quadratic curve that fits given point array \(a\) using given method. |
Ancillary Objects
colour.geometry
Return the coefficients of the implicit second-order polynomial/quadratic curve that fits given point array \(a\) using Halir and Flusser (1998) method. |
Intersection#
colour.geometry
|
Extend the line segment defined by point arrays \(a\) and \(b\) by given distance and return the new end point. |
|
Compute \(l_1\) line segments intersections with \(l_2\) line segments. |
Ancillary Objects
colour.geometry
Define the specification for intersection of line segments \(l_1\) and \(l_2\) returned by |
Primitives#
colour
Supported geometry primitive generation methods. |
|
|
Return a geometry primitive using given method. |
Ancillary Objects
colour.geometry
Plane to axis mapping. |
|
|
Generate vertices and indexes for a filled and outlined grid primitive. |
|
Generate vertices and indexes for a filled and outlined cube primitive. |
Primitive Vertices#
colour
Supported geometry primitive vertices generation methods. |
|
|
Return the vertices of a geometry primitive using given method. |
colour.geometry
|
Return the vertices of a quad primitive for use with Matplotlib |
|
Return the vertices of a grid primitive made of quad primitives for use with Matplotlib |
|
Return the vertices of a cube primitive made of grid primitives for use with Matplotlib |
|
Return the vertices of a latitude-longitude sphere primitive. |
Hull Section#
colour.geometry
|
Compute the hull section for given axis at given origin. |