Skip to content

CPP02-ex03 - BSP #40

Description

@TheLeBerton

Files to submit

  • in ex03/ dir
  • Makefile
  • main.cpp
  • Fixed.{h, hpp}
  • Fixed.cpp
  • Point.{h, hpp}
  • Point.cpp
  • bsp.cpp

Authorized

  • roundf from <cmath>

Definition of done

  • created the Point class
    • private Fixed const attribute x
    • private Fixed const attribute y
    • public default constructor initializing x and y to 0
    • public constructor taking two constant floating-point number as parameters, initializing x and y with it
    • public copy constructor
    • public copy assignment operator overload
    • public destructor
  • implement into bsp.cpp bool bsp( Point const a, Point const b, Point const c, Point const point );
  • own tests

Metadata

Metadata

Assignees

Labels

Type

Fields

Priority

High

Projects

Status
Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions