mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
Add Problem::IsParameterBlockPresent.
This allows the user to query the Problem to see if a parameter block is already present or not. Change-Id: If786f6c008cc644f3398597901d718d12a6d865d
This commit is contained in:
@@ -147,6 +147,9 @@ class ProblemImpl {
|
||||
|
||||
int ParameterBlockSize(const double* parameter_block) const;
|
||||
int ParameterBlockLocalSize(const double* parameter_block) const;
|
||||
|
||||
bool HasParameterBlock(const double* parameter_block) const;
|
||||
|
||||
void GetParameterBlocks(vector<double*>* parameter_blocks) const;
|
||||
void GetResidualBlocks(vector<ResidualBlockId>* residual_blocks) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user