Check if connection between two views is in view set
Check for Connection Between Views in Point Cloud View Set
Create an empty point cloud view set.
vSet = pcviewset;
Add two views to the point cloud view set.
vSet = addView(vSet,1); vSet = addView(vSet,2);
Add a connection to the point cloud view set.
vSet = addConnection(vSet,1,2);
Check if the connection is between views is in the point cloud view set.
tf = hasConnection(vSet,1,2)
tf = logical 1
viewId1 — View identifier 1
View identifier 1, specified as an integer. View identifiers are unique to a specific view.
viewId2 — View identifier 2
View identifier 2, specified as an integer. View identifiers are unique to a specific view.
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Introduced in R2020a