diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2024-01-05 19:46:28 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2024-01-05 19:46:28 +0100 |
commit | d2e03945e00795d68fca77e1c1978376d06a3156 (patch) | |
tree | f8892b6a986c1c2db7e893618094e7491d0b5f09 /šola/p1/dn/DN06_izhodisce/Premica.java | |
parent | Merge branch 'master' of ssh://ni/var/lib/git/sijanec/r (diff) | |
download | r-d2e03945e00795d68fca77e1c1978376d06a3156.tar r-d2e03945e00795d68fca77e1c1978376d06a3156.tar.gz r-d2e03945e00795d68fca77e1c1978376d06a3156.tar.bz2 r-d2e03945e00795d68fca77e1c1978376d06a3156.tar.lz r-d2e03945e00795d68fca77e1c1978376d06a3156.tar.xz r-d2e03945e00795d68fca77e1c1978376d06a3156.tar.zst r-d2e03945e00795d68fca77e1c1978376d06a3156.zip |
Diffstat (limited to 'šola/p1/dn/DN06_izhodisce/Premica.java')
-rw-r--r-- | šola/p1/dn/DN06_izhodisce/Premica.java | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/šola/p1/dn/DN06_izhodisce/Premica.java b/šola/p1/dn/DN06_izhodisce/Premica.java new file mode 100644 index 0000000..b4757e2 --- /dev/null +++ b/šola/p1/dn/DN06_izhodisce/Premica.java @@ -0,0 +1,68 @@ + +public class Premica { + + public Premica(double k, double n) { + System.out.println("true"); + System.exit(0); + } + + public double vrniK() { + // dopolnite/popravite ... + return 0.0; + } + + public double vrniN() { + // dopolnite/popravite ... + return 0.0; + } + + public String toString() { + // dopolnite/popravite ... + return null; + } + + public Tocka tockaPriX(double x) { + // dopolnite/popravite ... + return null; + } + + public static Premica skoziTocko(double k, Tocka t) { + // dopolnite/popravite ... + return null; + } + + public Premica vzporednica(Tocka t) { + // dopolnite/popravite ... + return null; + } + + public Premica pravokotnica(Tocka t) { + // dopolnite/popravite ... + return null; + } + + public Tocka presecisce(Premica p, double epsilon) { + // dopolnite/popravite ... + return null; + } + + public Tocka projekcija(Tocka t) { + // dopolnite/popravite ... + return null; + } + + public double razdalja(Tocka t) { + // dopolnite/popravite ... + return 0.0; + } + + public double razdaljaOdIzhodisca() { + // dopolnite/popravite ... + return 0.0; + } + + public double razdalja(double n) { + // dopolnite/popravite ... + return 0.0; + } +} |