scikit-spatial 6.8.0
  • Objects
  • Plotting
  • Gallery
  • API
  • Site
      • Spatial Objects
        • Point and Vector
        • Points
        • Line
        • LineSegment
        • Plane
        • Circle
        • Sphere
        • Triangle
          • Parametrized methods
          • Other spatial objects
        • Cylinder
      • Plotting
      • Example Gallery
        • Projection
          • Line-Plane Projection
          • 3D Vector-Line Projection
          • 2D Vector-Vector Projection
          • Vector-Plane Projection
          • 2D Point-Line Projection
          • Point-Plane Projection
        • Intersection
          • Plane-Plane Intersection
          • 3D Line-Line Intersection
          • Sphere-Line Intersection
          • 2D Line-Line Intersection
          • Cylinder-Line Intersection
          • Plane-Line Intersection
          • Circle-Circle Intersection
          • Circle-Line Intersection
        • Fitting
          • 3D Plane of Best Fit
          • 2D Line of Best Fit
          • 3D Line of Best Fit
        • Triangle
          • Triangle with Normal Vector
          • Triangle with Altitudes and Orthocenter
      • API Reference
        • Spatial objects
          • skspatial.objects
            • skspatial.objects.Point
              • Methods
                • skspatial.objects.Point.distance_point
                  • Point.distance_point()
                • skspatial.objects.Point.plot_2d
                  • Point.plot_2d()
                • skspatial.objects.Point.plot_3d
                  • Point.plot_3d()
            • skspatial.objects.Points
              • Methods
                • skspatial.objects.Points.affine_rank
                  • Points.affine_rank()
                • skspatial.objects.Points.are_collinear
                  • Points.are_collinear()
                • skspatial.objects.Points.are_concurrent
                  • Points.are_concurrent()
                • skspatial.objects.Points.are_coplanar
                  • Points.are_coplanar()
                • skspatial.objects.Points.centroid
                  • Points.centroid()
                • skspatial.objects.Points.is_close
                  • Points.is_close()
                • skspatial.objects.Points.mean_center
                  • Points.mean_center()
                • skspatial.objects.Points.plot_2d
                  • Points.plot_2d()
                • skspatial.objects.Points.plot_3d
                  • Points.plot_3d()
                • skspatial.objects.Points.unique
                  • Points.unique()
            • skspatial.objects.Vector
              • Methods
                • skspatial.objects.Vector.angle_between
                  • Vector.angle_between()
                • skspatial.objects.Vector.angle_signed
                  • Vector.angle_signed()
                • skspatial.objects.Vector.angle_signed_3d
                  • Vector.angle_signed_3d()
                • skspatial.objects.Vector.cosine_similarity
                  • Vector.cosine_similarity()
                • skspatial.objects.Vector.cross
                  • Vector.cross()
                • skspatial.objects.Vector.different_direction
                  • Vector.different_direction()
                • skspatial.objects.Vector.from_points
                  • Vector.from_points()
                • skspatial.objects.Vector.is_parallel
                  • Vector.is_parallel()
                • skspatial.objects.Vector.is_perpendicular
                  • Vector.is_perpendicular()
                • skspatial.objects.Vector.is_zero
                  • Vector.is_zero()
                • skspatial.objects.Vector.norm
                  • Vector.norm()
                • skspatial.objects.Vector.plot_2d
                  • Vector.plot_2d()
                • skspatial.objects.Vector.plot_3d
                  • Vector.plot_3d()
                • skspatial.objects.Vector.project_vector
                  • Vector.project_vector()
                • skspatial.objects.Vector.scalar_projection
                  • Vector.scalar_projection()
                • skspatial.objects.Vector.side_vector
                  • Vector.side_vector()
                • skspatial.objects.Vector.unit
                  • Vector.unit()
            • skspatial.objects.Line
              • Methods
                • skspatial.objects.Line.best_fit
                  • Line.best_fit()
                • skspatial.objects.Line.distance_line
                  • Line.distance_line()
                • skspatial.objects.Line.distance_point
                  • Line.distance_point()
                • skspatial.objects.Line.from_points
                  • Line.from_points()
                • skspatial.objects.Line.from_slope
                  • Line.from_slope()
                • skspatial.objects.Line.intersect_line
                  • Line.intersect_line()
                • skspatial.objects.Line.is_coplanar
                  • Line.is_coplanar()
                • skspatial.objects.Line.plot_2d
                  • Line.plot_2d()
                • skspatial.objects.Line.plot_3d
                  • Line.plot_3d()
                • skspatial.objects.Line.project_point
                  • Line.project_point()
                • skspatial.objects.Line.project_vector
                  • Line.project_vector()
                • skspatial.objects.Line.side_point
                  • Line.side_point()
                • skspatial.objects.Line.to_point
                  • Line.to_point()
                • skspatial.objects.Line.transform_points
                  • Line.transform_points()
            • skspatial.objects.LineSegment
              • Methods
                • skspatial.objects.LineSegment.contains_point
                  • LineSegment.contains_point()
                • skspatial.objects.LineSegment.intersect_line_segment
                  • LineSegment.intersect_line_segment()
                • skspatial.objects.LineSegment.plot_2d
                  • LineSegment.plot_2d()
                • skspatial.objects.LineSegment.plot_3d
                  • LineSegment.plot_3d()
            • skspatial.objects.Plane
              • Methods
                • skspatial.objects.Plane.best_fit
                  • Plane.best_fit()
                • skspatial.objects.Plane.cartesian
                  • Plane.cartesian()
                • skspatial.objects.Plane.distance_point_signed
                  • Plane.distance_point_signed()
                • skspatial.objects.Plane.from_points
                  • Plane.from_points()
                • skspatial.objects.Plane.from_vectors
                  • Plane.from_vectors()
                • skspatial.objects.Plane.intersect_line
                  • Plane.intersect_line()
                • skspatial.objects.Plane.intersect_plane
                  • Plane.intersect_plane()
                • skspatial.objects.Plane.plot_3d
                  • Plane.plot_3d()
                • skspatial.objects.Plane.project_line
                  • Plane.project_line()
                • skspatial.objects.Plane.project_point
                  • Plane.project_point()
                • skspatial.objects.Plane.project_vector
                  • Plane.project_vector()
                • skspatial.objects.Plane.side_point
                  • Plane.side_point()
                • skspatial.objects.Plane.to_mesh
                  • Plane.to_mesh()
                • skspatial.objects.Plane.to_points
                  • Plane.to_points()
            • skspatial.objects.Circle
              • Methods
                • skspatial.objects.Circle.area
                  • Circle.area()
                • skspatial.objects.Circle.best_fit
                  • Circle.best_fit()
                • skspatial.objects.Circle.circumference
                  • Circle.circumference()
                • skspatial.objects.Circle.from_points
                  • Circle.from_points()
                • skspatial.objects.Circle.intersect_circle
                  • Circle.intersect_circle()
                • skspatial.objects.Circle.intersect_line
                  • Circle.intersect_line()
                • skspatial.objects.Circle.plot_2d
                  • Circle.plot_2d()
            • skspatial.objects.Sphere
              • Methods
                • skspatial.objects.Sphere.best_fit
                  • Sphere.best_fit()
                • skspatial.objects.Sphere.intersect_line
                  • Sphere.intersect_line()
                • skspatial.objects.Sphere.plot_3d
                  • Sphere.plot_3d()
                • skspatial.objects.Sphere.surface_area
                  • Sphere.surface_area()
                • skspatial.objects.Sphere.to_mesh
                  • Sphere.to_mesh()
                • skspatial.objects.Sphere.to_points
                  • Sphere.to_points()
                • skspatial.objects.Sphere.volume
                  • Sphere.volume()
            • skspatial.objects.Triangle
              • Methods
                • skspatial.objects.Triangle.altitude
                  • Triangle.altitude()
                • skspatial.objects.Triangle.angle
                  • Triangle.angle()
                • skspatial.objects.Triangle.area
                  • Triangle.area()
                • skspatial.objects.Triangle.centroid
                  • Triangle.centroid()
                • skspatial.objects.Triangle.classify
                  • Triangle.classify()
                • skspatial.objects.Triangle.is_right
                  • Triangle.is_right()
                • skspatial.objects.Triangle.length
                  • Triangle.length()
                • skspatial.objects.Triangle.line
                  • Triangle.line()
                • skspatial.objects.Triangle.multiple
                  • Triangle.multiple()
                • skspatial.objects.Triangle.normal
                  • Triangle.normal()
                • skspatial.objects.Triangle.orthocenter
                  • Triangle.orthocenter()
                • skspatial.objects.Triangle.perimeter
                  • Triangle.perimeter()
                • skspatial.objects.Triangle.plot_2d
                  • Triangle.plot_2d()
                • skspatial.objects.Triangle.plot_3d
                  • Triangle.plot_3d()
                • skspatial.objects.Triangle.point
                  • Triangle.point()
            • skspatial.objects.Cylinder
              • Methods
                • skspatial.objects.Cylinder.from_points
                  • Cylinder.from_points()
                • skspatial.objects.Cylinder.intersect_line
                  • Cylinder.intersect_line()
                • skspatial.objects.Cylinder.is_point_within
                  • Cylinder.is_point_within()
                • skspatial.objects.Cylinder.lateral_surface_area
                  • Cylinder.lateral_surface_area()
                • skspatial.objects.Cylinder.length
                  • Cylinder.length()
                • skspatial.objects.Cylinder.plot_3d
                  • Cylinder.plot_3d()
                • skspatial.objects.Cylinder.surface_area
                  • Cylinder.surface_area()
                • skspatial.objects.Cylinder.to_mesh
                  • Cylinder.to_mesh()
                • skspatial.objects.Cylinder.to_points
                  • Cylinder.to_points()
                • skspatial.objects.Cylinder.volume
                  • Cylinder.volume()
        • Modules
          • skspatial.measurement
            • skspatial.measurement.area_signed
              • area_signed()
            • skspatial.measurement.area_triangle
              • area_triangle()
            • skspatial.measurement.volume_tetrahedron
              • volume_tetrahedron()
          • skspatial.transformation
            • skspatial.transformation.transform_coordinates
              • transform_coordinates()

Example Gallery¶

Projection¶

Line-Plane Projection

Line-Plane Projection¶

3D Vector-Line Projection

3D Vector-Line Projection¶

2D Vector-Vector Projection

2D Vector-Vector Projection¶

Vector-Plane Projection

Vector-Plane Projection¶

2D Point-Line Projection

2D Point-Line Projection¶

Point-Plane Projection

Point-Plane Projection¶

Intersection¶

Plane-Plane Intersection

Plane-Plane Intersection¶

3D Line-Line Intersection

3D Line-Line Intersection¶

Sphere-Line Intersection

Sphere-Line Intersection¶

2D Line-Line Intersection

2D Line-Line Intersection¶

Cylinder-Line Intersection

Cylinder-Line Intersection¶

Plane-Line Intersection

Plane-Line Intersection¶

Circle-Circle Intersection

Circle-Circle Intersection¶

Circle-Line Intersection

Circle-Line Intersection¶

Fitting¶

3D Plane of Best Fit

3D Plane of Best Fit¶

2D Line of Best Fit

2D Line of Best Fit¶

3D Line of Best Fit

3D Line of Best Fit¶

Triangle¶

Triangle with Normal Vector

Triangle with Normal Vector¶

Triangle with Altitudes and Orthocenter

Triangle with Altitudes and Orthocenter¶

Gallery generated by Sphinx-Gallery

Back to top

© Copyright 2019, Andrew Hynes.
Created using Sphinx 5.3.0.