Garfield++ 3.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
Polygon.cc File Reference
#include <algorithm>
#include <cmath>
#include <iostream>
#include <numeric>
#include "Garfield/Polygon.hh"
#include "Garfield/FundamentalConstants.hh"
#include "Garfield/GarfieldConstants.hh"
#include "Garfield/Random.hh"

Go to the source code of this file.

Namespaces

namespace  Garfield
 
namespace  Garfield::Polygon
 

Functions

void Garfield::Polygon::Inside (const std::vector< double > &xpl, const std::vector< double > &ypl, const double x, const double y, bool &inside, bool &edge)
 
double Garfield::Polygon::Area (const std::vector< double > &xp, const std::vector< double > &yp)
 Determine the (signed) area of a polygon.