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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file data_whiz-0.0.2.tar.gz.

File metadata

  • Download URL: data_whiz-0.0.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.6

File hashes

Hashes for data_whiz-0.0.2.tar.gz
Algorithm Hash digest
SHA256 adb0de509b1a414baa5ee6992593fdeb6b983894ea8a1574e6fcb48ece473899
MD5 7b8744d07fd671d6e355e6692e4c7b4e
BLAKE2b-256 e7f84cc886b6057ac49bea8816955e0bc6ea653f418dc0065c13371afca2da0b

See more details on using hashes here.

File details

Details for the file data_whiz-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: data_whiz-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.6

File hashes

Hashes for data_whiz-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ef939ac3261438bbb4efb92af6a65f152683117fd3f021d6d63b5fc51a6514bb
MD5 13feaf5c3601a9eac5e0ad329924db3a
BLAKE2b-256 fcf346d60a1e922bd26c281c138aeaf6eb278cec3840992ea2dd27ac0ff2f84d

See more details on using hashes here.

Supported by

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