Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 12 / Example_polymorphism / Triangle.h
diff options
context:
space:
mode:
Commit110481bee48bdb18f3d635cbc507aac1acc7c694 (patch)
Author
 angeld55 <angel_dimitriev@abv.bg>
2022-05-24 20:10:50 +0300
Committer
 angeld55 <angel_dimitriev@abv.bg>
2022-05-24 20:10:50 +0300
Filesbe2cdf7f8769afd0f456776871b16fe8868ae67b /Sem. 12/Example_polymorphism/Triangle.h
Object-oriented_programming_FMI-110481bee48bdb18f3d635cbc507aac1acc7c694.tar
Object-oriented_programming_FMI-110481bee48bdb18f3d635cbc507aac1acc7c694.tar.gz
Object-oriented_programming_FMI-110481bee48bdb18f3d635cbc507aac1acc7c694.zip
Parentc1a310e69933035fb385f52275e9b80cdad695fc (diff)
added shapes collection
1 files changed, 2 insertions, 0 deletions
-rw-r--r--Sem. 12/Example_polymorphism/Triangle.h2
diff --git a/Sem. 12/Example_polymorphism/Triangle.h b/Sem. 12/Example_polymorphism/Triangle.h
index c157de8..3f7f8cb 100644
--- a/Sem. 12/Example_polymorphism/Triangle.h
+++ b/Sem. 12/Example_polymorphism/Triangle.h
@@ -9,4 +9,6 @@ public:
Triangle(int x1, int y1, int x2, int y2, int x3, int y3);
double getArea() const override;
double getPer() const override;
+ bool isPointIn(int x, int y) const override;
+
}; \ No newline at end of file