|
492 | 492 | vector_component_xy, |
493 | 493 | vector_average, |
494 | 494 | vector_variance, |
495 | | - vector_standard_deviation |
496 | | -) |
497 | | -from ._core import ( |
| 495 | + vector_standard_deviation, |
| 496 | + |
498 | 497 | circle_evaluate, |
499 | 498 | ellipse_evaluate, |
500 | 499 | archimedean_spiral_evaluate, |
501 | 500 | logarithmic_spiral_evaluate, |
502 | | - helix_evaluate |
503 | | -) |
504 | | -from ._core import ( |
| 501 | + helix_evaluate, |
| 502 | + |
505 | 503 | angles_vectors, |
506 | 504 | angles_vectors_xy, |
507 | 505 | angles_points, |
|
511 | 509 | angle_vectors_xy, |
512 | 510 | angle_points, |
513 | 511 | angle_points_xy, |
514 | | - angle_planes |
515 | | -) |
516 | | -from ._core import ( |
| 512 | + angle_planes, |
| 513 | + |
517 | 514 | midpoint_point_point, |
518 | 515 | midpoint_point_point_xy, |
519 | 516 | midpoint_line, |
|
527 | 524 | centroid_polygon_vertices_xy, |
528 | 525 | centroid_polygon_edges, |
529 | 526 | centroid_polygon_edges_xy, |
530 | | - centroid_polyhedron |
531 | | -) |
532 | | -from ._core import ( |
| 527 | + centroid_polyhedron, |
| 528 | + |
533 | 529 | circle_from_points, |
534 | | - circle_from_points_xy |
535 | | -) |
536 | | -from ._core import ( |
| 530 | + circle_from_points_xy, |
| 531 | + |
537 | 532 | distance_point_point, |
538 | 533 | distance_point_point_xy, |
539 | 534 | distance_point_point_sqrd, |
|
554 | 549 | closest_point_on_polyline, |
555 | 550 | closest_point_on_polyline_xy, |
556 | 551 | closest_point_on_plane, |
557 | | - closest_line_to_point |
558 | | -) |
559 | | -from ._core import KDTree |
560 | | -from ._core import ( |
| 552 | + closest_line_to_point, |
| 553 | + |
| 554 | + KDTree, |
| 555 | + |
561 | 556 | normal_polygon, |
562 | 557 | normal_triangle, |
563 | | - normal_triangle_xy |
564 | | -) |
565 | | -from ._core import ( |
| 558 | + normal_triangle_xy, |
| 559 | + |
566 | 560 | quaternion_norm, |
567 | 561 | quaternion_unitize, |
568 | 562 | quaternion_is_unit, |
569 | 563 | quaternion_multiply, |
570 | 564 | quaternion_canonize, |
571 | | - quaternion_conjugate |
572 | | -) |
573 | | -from ._core import ( |
| 565 | + quaternion_conjugate, |
| 566 | + |
574 | 567 | area_polygon, |
575 | 568 | area_polygon_xy, |
576 | 569 | area_triangle, |
577 | 570 | area_triangle_xy, |
578 | | - volume_polyhedron |
579 | | -) |
580 | | -from ._core import ( |
| 571 | + volume_polyhedron, |
| 572 | + |
581 | 573 | tangent_points_to_circle_xy |
582 | 574 | ) |
583 | 575 | from .predicates import ( |
|
594 | 586 | is_polygon_in_polygon_xy, |
595 | 587 | is_intersection_line_line_xy, |
596 | 588 | is_intersection_segment_segment_xy, |
| 589 | + |
597 | 590 | is_colinear, |
598 | 591 | is_colinear_line_line, |
599 | 592 | is_coplanar, |
|
676 | 669 | transform_frames, |
677 | 670 | local_to_world_coordinates, |
678 | 671 | world_to_local_coordinates, |
| 672 | + |
679 | 673 | translate_points, |
680 | 674 | translate_points_xy, |
681 | 675 | scale_points, |
|
697 | 691 | project_points_line_xy, |
698 | 692 | reflect_line_plane, |
699 | 693 | reflect_line_triangle, |
700 | | - orient_points |
701 | | -) |
702 | | -from .transformations import ( |
| 694 | + orient_points, |
| 695 | + |
703 | 696 | Projection, |
704 | 697 | Reflection, |
705 | 698 | Rotation, |
|
719 | 712 | world_to_local_coordinates_numpy, |
720 | 713 | local_to_world_coordinates_numpy |
721 | 714 | ) |
722 | | - |
723 | 715 | from .primitives import ( # noqa: E402 |
724 | 716 | Primitive, |
725 | 717 | Circle, |
|
743 | 735 | Sphere, |
744 | 736 | Torus |
745 | 737 | ) |
746 | | -from .bbox import bounding_box, bounding_box_xy # noqa: E402 |
| 738 | +from .bbox import ( # noqa: E402 |
| 739 | + bounding_box, |
| 740 | + bounding_box_xy |
| 741 | +) |
747 | 742 | if not compas.IPY: |
748 | 743 | from .bbox import ( |
749 | 744 | oriented_bounding_box_numpy, |
|
763 | 758 | boolean_difference_mesh_mesh, |
764 | 759 | boolean_intersection_mesh_mesh |
765 | 760 | ) |
766 | | -from .hull import convex_hull, convex_hull_xy # noqa: E402 |
| 761 | +from .hull import ( # noqa: E402 |
| 762 | + convex_hull, |
| 763 | + convex_hull_xy |
| 764 | +) |
767 | 765 | if not compas.IPY: |
768 | | - from .hull import convex_hull_numpy, convex_hull_xy_numpy |
| 766 | + from .hull import ( |
| 767 | + convex_hull_numpy, |
| 768 | + convex_hull_xy_numpy |
| 769 | + ) |
769 | 770 | from .interpolation import ( # noqa: E402 |
770 | 771 | barycentric_coordinates, |
771 | 772 | discrete_coons_patch, |
772 | 773 | tween_points, |
773 | 774 | tween_points_distance |
774 | 775 | ) |
775 | | -from .offset import offset_line, offset_polyline, offset_polygon # noqa: E402 |
| 776 | +from .offset import ( # noqa: E402 |
| 777 | + offset_line, |
| 778 | + offset_polyline, |
| 779 | + offset_polygon |
| 780 | +) |
776 | 781 | from .pointclouds import Pointcloud # noqa: E402 |
777 | 782 | from .quadmesh import quadmesh_planarize # noqa: E402 |
778 | 783 | from .triangulation import delaunay_from_points # noqa: E402 |
779 | 784 | if not compas.IPY: |
780 | | - from .triangulation import delaunay_from_points_numpy, voronoi_from_points_numpy |
| 785 | + from .triangulation import ( |
| 786 | + delaunay_from_points_numpy, |
| 787 | + voronoi_from_points_numpy |
| 788 | + ) |
781 | 789 | from .trimesh import ( # noqa: E402 |
782 | 790 | trimesh_gaussian_curvature, |
783 | 791 | trimesh_principal_curvature, |
|
791 | 799 | trimesh_remesh_along_isoline, |
792 | 800 | trimesh_slice |
793 | 801 | ) |
794 | | - |
795 | 802 | if not compas.IPY: |
796 | 803 | from .icp import icp_numpy |
797 | 804 |
|
|
1051 | 1058 | 'trimesh_remesh', |
1052 | 1059 | 'trimesh_remesh_constrained', |
1053 | 1060 | 'trimesh_remesh_along_isoline', |
1054 | | - 'trimesh_slice' |
1055 | | -] |
1056 | | -__all__ += [ |
| 1061 | + 'trimesh_slice', |
| 1062 | + |
1057 | 1063 | 'KDTree', |
| 1064 | + |
1058 | 1065 | 'Pointcloud', |
1059 | 1066 | 'Primitive', |
1060 | 1067 | 'Circle', |
|
1067 | 1074 | 'Polyline', |
1068 | 1075 | 'Quaternion', |
1069 | 1076 | 'Vector', |
| 1077 | + |
1070 | 1078 | 'Shape', |
1071 | 1079 | 'Box', |
1072 | 1080 | 'Capsule', |
|
1075 | 1083 | 'Polyhedron', |
1076 | 1084 | 'Sphere', |
1077 | 1085 | 'Torus', |
| 1086 | + |
1078 | 1087 | 'Projection', |
1079 | 1088 | 'Reflection', |
1080 | 1089 | 'Rotation', |
|
0 commit comments