[Proc Gen] HeightMap - Query methods #196
Labels
No labels
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
priority:tier1-active
priority:tier2-foundation
priority:tier3-future
priority:tier4-deferred
Refactoring & Cleanup
system:animation
system:documentation
system:grid
system:input
system:performance
system:procgen
system:python-binding
system:rendering
system:ui-hierarchy
Tiny Feature
workflow:blocked
workflow:needs-benchmark
workflow:needs-documentation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#193 [Proc Gen] HeightMap - Core class with scalar operations
john/McRogueFace
Reference
john/McRogueFace#196
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent Issue: #192
Overview
Add methods to query HeightMap values and statistics.
Specification
Implementation Notes
getmaps toTCOD_heightmap_get_valueget_interpolatedmaps toTCOD_heightmap_get_interpolated_valueget_slopemaps toTCOD_heightmap_get_slope(returns 0 to π/2)get_normalmaps toTCOD_heightmap_get_normalmin_maxmaps toTCOD_heightmap_get_minmaxcount_in_rangemaps toTCOD_heightmap_count_cellsposaccepts tuple, list, ormcrfpy.VectorAcceptance Criteria
getwith out-of-bounds position raisesIndexErrormin_maxreturns correct extremes after operations