ConstrArray::GetConstr()
Get i-th constraint object.
Synopsis
Constraint &GetConstr(int i)
Arguments
i
: index of the constraint.Return
constraint object with index i.
ConstrArray::PushBack()
Add a constraint object to constraint array.
Synopsis
void PushBack(const Constraint &constr)
Arguments
constr
: a constraint object.
ConstrArray::Reserve()
Reserve capacity to contain at least n items.
Synopsis
void Reserve(int n)
Arguments
n
: minimum capacity for Constraint object.
ConstrArray::Size()
Get the number of constraint objects.
Synopsis
int Size()
Return
number of constraint objects.