Skip to main content

Prepared to help graphics coding for Python

Project description

################################### ####### HELLO WORLD ####### ###################################

This README.md file was generated on 2020/12/05 by MEHMET R. IRMAK

################### GENERAL INFORMATION ###################

This python library uses position vector handling and to help compute physical vectorial motion in mechanical systems. In addition, this is prepared to help graphics coding for Python.

  1. Author Information

First Author Contact Information Name: MEHMET RIFAT IRMAK Address: Ankara/TURKEY e-mail: mehmet.r.river@gmail.com

#################### DATA & FILE OVERVIEW ####################

Directory of Files: A. Filename: init.py
Short description: the file containing functions that vector class, which vector calculations for location, physical movement and force

B. Filename: README.md
Short description: this file

C. Filename: CHANGELOG.txt
Short description: the file with update notes included

D. Filename: LICENCE.txt
Short description: the file with license information

E. Filename: setup.py
Short description: the setup file

########################## METHODOLOGICAL INFORMATION ##########################

  1. Software-specific information:

Name: classofvector2d Version: 1.0.4 System Requirements: Windows 7 or higher, 64-bit • Mac OS X 10.11 or higher, 64-bit • Linux: RHEL 6/7, 64-bit • x86 64-bit CPU (Intel / AMD architecture) • 4 GB RAM • 5 GB free disk space

Open Source? (Y/N): Y

Source Repository URL: Developer:Mehmet R. Irmak

  1. Specific information:

Manufacturer: Mehmet R. Irmak Model: 1.0.4

Definitions:

Vector(x, y):to create a vector.

square():to calculate the square of the length.

length():to calculate the length.

clone():to clone.

negative():to negative.

normalize():to normalize.

addition(vector):Creating a new vector by adding the vector given in the parameter to the vector.

increment(vector):by summing with the vector in the parameter changing x and y values of the vector.

subtract(vector):Creating a new vector by subtracting the vector given in the parameter.

decrement(vector):by subtracting with the vector in the parameter changing x and y values of the vector.

multiply(k): a new vector by multiplying the vector by a scalar number creation.

scale(k):by multiplying with a scalar number in the parameter changing x and y values of the vector.

scalerProduct(vector):scalar multiplying the vector by the vector in the parameter.

addMultbyScaler(vector, k):creating a new vector by multiplying the vector in the parameter with the scalar number and adding it to the other vector.

Vector.distance(vector1, vector2):distance between two vectors.

Vector.angleRad(vector1, vector2):return the angle of between two vectors radians.

Vector.angleDeg(vector1, vector2): return the angle of between two vectors degrees.

Random(min, max):to create a random number between two integer numbers

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

classofvector2d-1.0.4-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file classofvector2d-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: classofvector2d-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.0

File hashes

Hashes for classofvector2d-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a9bc9fd93d4e35de8569c60cd9bebe26b8efcbc5ed0c87333350443b4099dac9
MD5 d88197e521ccabd92c60b5b613afe1b6
BLAKE2b-256 4347464862b9f93b2f17076d434be1f83c9c9d00ab1a55d0ab1333f3ca03b7c0

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