findMinWidth, findMaxWidth: width for a given top

Currently only implemented for Castle suffixes.
This commit is contained in:
Justin Viiret
2015-12-02 10:24:54 +11:00
committed by Matthew Barr
parent 03953f34b1
commit 8dac64d1dc
5 changed files with 53 additions and 5 deletions

View File

@@ -85,6 +85,8 @@ struct CastleProto {
std::set<ReportID> all_reports(const CastleProto &proto);
depth findMinWidth(const CastleProto &proto);
depth findMaxWidth(const CastleProto &proto);
depth findMinWidth(const CastleProto &proto, u32 top);
depth findMaxWidth(const CastleProto &proto, u32 top);
/**
* \brief Remap tops to be contiguous.