| 126 | } |
| 127 | |
| 128 | const CEnvPoint *CMapBasedEnvelopePointAccess::GetPoint(int Index) const |
| 129 | { |
| 130 | if(Index < 0 || Index >= m_NumPoints) |
| 131 | return nullptr; |
| 132 | if(m_pPoints != nullptr) |
| 133 | return &m_pPoints[Index + m_StartPoint]; |
| 134 | if(m_pPointsBezierUpstream != nullptr) |
| 135 | return &m_pPointsBezierUpstream[Index + m_StartPoint]; |
| 136 | return nullptr; |
| 137 | } |
| 138 | |
| 139 | const CEnvPointBezier *CMapBasedEnvelopePointAccess::GetBezier(int Index) const |
| 140 | { |
no outgoing calls
no test coverage detected