Public Member Functions | List of all members
Outside Class Reference

Complement set of the points inside a certain shape. More...

#include <shape_2d.hpp>

Inheritance diagram for Outside:
Inheritance graph
[legend]
Collaboration diagram for Outside:
Collaboration graph
[legend]

Public Member Functions

 Outside (Shape2D const &shape)
 Class constructor. More...
 
bool operator() (const Vector2D &r) const
 Returns true is a point is inside the shape, false otherwise. More...
 
- Public Member Functions inherited from Shape2D
virtual ~Shape2D (void)
 virtual destructor
 

Detailed Description

Complement set of the points inside a certain shape.

Definition at line 68 of file shape_2d.hpp.

Constructor & Destructor Documentation

◆ Outside()

Outside::Outside ( Shape2D const &  shape)
explicit

Class constructor.

Parameters
shapeOriginal shape

Definition at line 31 of file shape_2d.cpp.

Member Function Documentation

◆ operator()()

bool Outside::operator() ( const Vector2D r) const
virtual

Returns true is a point is inside the shape, false otherwise.

Parameters
rPoint in 2d space
Returns
True if r is inside the shape

Implements Shape2D.

Definition at line 39 of file shape_2d.cpp.


The documentation for this class was generated from the following files: