OpenStructure
Public Member Functions
MaskBase Class Referenceabstract

#include <mask_base.hh>

Inherited by CircleMask, CompositeMask, ExtentMask, InvertedMask, PolygonMask, and SphericalMask.

Public Member Functions

 MaskBase ()
 
virtual ~MaskBase ()
 
virtual MaskPtr Clone ()=0
 
virtual bool IsInside (const Vec2 &v)=0
 
bool IsOutside (const Vec2 &v)
 
virtual void Shift (const Vec2 &v)=0
 
virtual void Expand (Real d)=0
 
virtual void Shrink (Real d)
 
virtual void Scale (Real d)=0
 
virtual void Apply (MaskVisitor &v)=0
 

Detailed Description

Definition at line 35 of file mask_base.hh.

Constructor & Destructor Documentation

◆ MaskBase()

MaskBase ( )

◆ ~MaskBase()

virtual ~MaskBase ( )
virtual

Member Function Documentation

◆ Apply()

virtual void Apply ( MaskVisitor v)
pure virtual

◆ Clone()

virtual MaskPtr Clone ( )
pure virtual

◆ Expand()

virtual void Expand ( Real  d)
pure virtual

◆ IsInside()

virtual bool IsInside ( const Vec2 &  v)
pure virtual

◆ IsOutside()

bool IsOutside ( const Vec2 &  v)
inline

Definition at line 42 of file mask_base.hh.

◆ Scale()

virtual void Scale ( Real  d)
pure virtual

◆ Shift()

virtual void Shift ( const Vec2 &  v)
pure virtual

◆ Shrink()

virtual void Shrink ( Real  d)
inlinevirtual

Definition at line 45 of file mask_base.hh.


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