Mesh: define the typenames FacetIndex and PointIndex to distinguish between facet and point related indexes
This commit is contained in:
@@ -529,11 +529,11 @@ void PropertyMeshKernel::transformGeometry(const Base::Matrix4D &rclMat)
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
void PropertyMeshKernel::setPointIndices(const std::vector<std::pair<unsigned long, Base::Vector3f> >& inds)
|
||||
void PropertyMeshKernel::setPointIndices(const std::vector<std::pair<PointIndex, Base::Vector3f> >& inds)
|
||||
{
|
||||
aboutToSetValue();
|
||||
MeshCore::MeshKernel& kernel = _meshObject->getKernel();
|
||||
for (std::vector<std::pair<unsigned long, Base::Vector3f> >::const_iterator it = inds.begin(); it != inds.end(); ++it)
|
||||
for (std::vector<std::pair<PointIndex, Base::Vector3f> >::const_iterator it = inds.begin(); it != inds.end(); ++it)
|
||||
kernel.SetPoint(it->first, it->second);
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user