which returns a the supporting representation. Rather than getting the reference, I would like to get the representation index.
RESQML2_NS::AbstractRepresentation* SealedSurfaceFrameworkRepresentation::getRepresentationIndexOfContactPatch(unsigned int crIndex, unsigned int cpIndex) const
{
return getContactPatch(crIndex, cpIndex)->RepresentationIndex;
}
I have already deserialized this representation and put it into vector whose index matches the representation index.
The workaround is to create a map between abstractrepresentation and index, but I would prefer to be able to continue work with the indices
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
when deserializing contacts in SealedSurfaceFrameworkRepresentation, I finally arrive at
resqml_wtf.getRepresentationOfContactPatch(contact_index, patch_index);
which returns a the supporting representation. Rather than getting the reference, I would like to get the representation index.
RESQML2_NS::AbstractRepresentation* SealedSurfaceFrameworkRepresentation::getRepresentationIndexOfContactPatch(unsigned int crIndex, unsigned int cpIndex) const { return getContactPatch(crIndex, cpIndex)->RepresentationIndex; }
I have already deserialized this representation and put it into vector whose index matches the representation index.
The workaround is to create a map between abstractrepresentation and index, but I would prefer to be able to continue work with the indices
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.