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