C4DensityProvider Class Reference

#include <C4Shape.h>

Inheritance diagram for C4DensityProvider:

Public Member Functions

virtual int32_t GetDensity (int32_t x, int32_t y) const
virtual ~C4DensityProvider ()=default

Detailed Description

Definition at line 29 of file C4Shape.h.

Constructor & Destructor Documentation

◆ ~C4DensityProvider()

virtual C4DensityProvider::~C4DensityProvider ( )

Member Function Documentation

◆ GetDensity()

int32_t C4DensityProvider::GetDensity ( int32_t  x,
int32_t  y 
) const

Reimplemented in C4SolidMask::DensityProvider.

Definition at line 482 of file C4Shape.cpp.

References GBackDensity().

Referenced by C4Shape::GetVertexOutline().

483 {
484  // default density provider checks the landscape
485  return GBackDensity(x,y);
486 }
int32_t GBackDensity(int32_t x, int32_t y)
Definition: C4Landscape.h:224
Here is the call graph for this function:
Here is the caller graph for this function:

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