Skip to main content

this package can be used to calculate distance between two points in the curved surface

Project description

Calculate the distance between points in curved surface

Download the library

!pip install curved-surface-distance

Importing the library

from curved_surface_distance import distance

HSV_distance

  • HSV_distance is used to Calculate the distance between the HSV color codes.

  • H represents Hue ranges from 0 to 360, S represents Saturation and V represents Value(brightness) both ranges from 0 to 100. syntax - distance.HSV_distance([H1,S1,V1],[H2,S2,V2])

    example - distance.HSV_distance([0,0,0],[360,100,100])

distance

  • distance is used to find the distance between two points or between two list of points in curved surface.

      1. This is to find distance between two list of points 
          
          syntax  -   distance.distance([p11,p12,p13],[p21,p22,p23])
          
          example -   distance.distance([0,0,0],[360,360,360])
    
      2. This is to find distance between two points in the curved surface. 
          
          syntax  -   distance.distance(p1,p2)
          
          example -   distance.distance(0,500)
    

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

data_whiz-0.0.2.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

data_whiz-0.0.2-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page