bezier package¶
Helper for Bézier Curves, Triangles, and Higher Order Objects.
Intended to perform basic operations on Bézier objects such as intersections, length/area/etc. computations, subdivision, implicitization and other relevant information.
Plotting utilities are also provided.
-
bezier.
get_include
()¶ Get the directory with
.h
header files.Extension modules (and Cython modules) that need to compile against
libbezier
should use this function to locate the appropriate include directory.For more information, see Native Libraries.
Returns: include
directory that contains header files for thelibbezier
Fortran library.Return type: str
-
bezier.
get_lib
()¶ Get the directory with
.a
/.lib
static libraries.Extension modules (and Cython modules) that need to compile against
libbezier
should use this function to locate the appropriate lib directory.For more information, see Native Libraries.
Returns: lib
directory that contains static libraries for thelibbezier
Fortran library.Return type: str
-
bezier.
get_dll
()¶ Get the directory with the Windows shared library.
Extension modules (and Cython modules) that need to compile against
libbezier
should use this function to locate the appropriate Windows shared library or libraries (DLLs).For more information, see Native Libraries.
Returns: extra-dll
directory that contains the Windows shared library for thelibbezier
Fortran library.Return type: str Raises: OSError
– If this function is used anywhere other than Windows.