Acoular 24.07 documentation


«  CircSector   ::   grids   ::   ConvexSector  »


class acoular.grids.PolySector

Bases: SingleSector

Class for defining a polygon sector.

Can be used for 2D Grids for definining a polygon sector.


Queries whether the coordinates in a given array lie within the ploygon sector. If no coordinate is inside, the nearest one to the rectangle center is returned if default_nearest is True.

posarray of floats

Array with the shape 3x[number of gridpoints] containing the grid positions

array of bools with as many entries as columns in pos

Array indicating which of the given positions lie within the given sector

«  CircSector   ::   grids   ::   ConvexSector  »