Rectangle Class Reference

Geometry Lib: Rectangle Class Reference
Geometry Lib
Rectangle Class Reference

A rectangle. More...

#include <rectangle.hpp>

Inheritance diagram for Rectangle:
[legend]
Collaboration diagram for Rectangle:
[legend]

Public Member Functions

 Rectangle (Properties properties)
 Construct a new Rectangle object. More...
 
virtual uint edges () const override
 Rectangle edges method. More...
 
- Public Member Functions inherited from Shape
 Shape (Properties properties)
 Construct a new Shape object. More...
 
const Propertiesproperties () const
 Getter for properties_. More...
 

Additional Inherited Members

- Protected Attributes inherited from Shape
Properties properties_
 

Detailed Description

A rectangle.

Constructor & Destructor Documentation

◆ Rectangle()

Rectangle::Rectangle ( Properties  properties)

Construct a new Rectangle object.

Parameters
propertiesShape properties

Member Function Documentation

◆ edges()

uint Rectangle::edges ( ) const
overridevirtual

Rectangle edges method.

Returns
uint

Implements Shape.


The documentation for this class was generated from the following files:
  • /home/docs/checkouts/readthedocs.org/user_builds/doxysphinx-demo/checkouts/latest/geometry_lib/include/geometry/rectangle.hpp
  • /home/docs/checkouts/readthedocs.org/user_builds/doxysphinx-demo/checkouts/latest/geometry_lib/src/rectangle.cpp