Help CenterHelp Center
Boolean intersection operation on two RF PCB shapes
Since R2021b
c = intersect(shape1,shape2)
example
c = intersect(shape1,shape2) intersects shape1 and shape2 using the intersect operation. You can also use the & to intersect the two shapes.
shape1
shape2
&
collapse all
Create and display an annular ring.
shape1 = ringAnnular(InnerRadius=1e-3); show(shape1)
Create and display a square ring.
shape2 = ringSquare(InnerSide=1e-3); show(shape2)
Find and display the intersection of the shapes.
shapeIntersection = intersect(shape1,shape2); show(shapeIntersection)
shape1 = ringAnnular;
shape2 = ringSquare('InnerSide',8e-3);
shapeIntersection = shape1&shape2; show(shapeIntersection)
First shape created using custom elements and shape objects of RF PCB Toolbox™, specified as an object.
Example: shape1 = bendCurved; specifies the first shape as a bendCurved object.
shape1 = bendCurved;
bendCurved
Second shape created using custom elements and shape objects of RF PCB Toolbox, specified as an object.
Example: shape2 = ringAnnular; specifies the second shape as a ringAnnular object.
shape2 = ringAnnular;
ringAnnular
Introduced in R2021b
add | subtract | area | rotate | rotateX | rotateY | rotateZ | translate | show | mesh | plot
add
subtract
area
rotate
rotateX
rotateY
rotateZ
translate
show
mesh
plot
Vous possédez une version modifiée de cet exemple. Souhaitez-vous ouvrir cet exemple avec vos modifications ?
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office