ddg.conversion.nets.geometry.quadrics module
- ddg.conversion.nets.geometry.quadrics.quadric_to_smooth_net(quadric, affine=True)[source]
Convert a quadric to a smooth net.
Currently supported are all quadrics contained in lines, planes or 3D subspaces.
- Parameters:
- quadricddg.geometry.Quadric
- affinebool (default=True)
Whether the resulting net should return affine or homogeneous coordinates.
- Returns:
- SmoothNet, SmoothCurve, EmptyNet, PointNet or NetCollection
Resulting smooth net.