21.01.2015 Views

COMSOL Multiphysics™

COMSOL Multiphysics™

COMSOL Multiphysics™

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

mirror<br />

Purpose<br />

mirror<br />

Reflect geometry.<br />

Syntax<br />

Description<br />

[gm,...] = mirror(g,pt,vec,...)<br />

[gm,...] = mirror(g,pt,vec,...) creates a mirrored copy of the geometry<br />

object g, as reflected in the plane with normal vector vec, centered at pt.<br />

Examples In 2D:<br />

Property value list for mirror.<br />

TABLE 1-16: VALID PROPERTY/VALUE PAIRS<br />

PROPERTY VALUE DEFAULT DESCRIPTION<br />

Out stx | ftx |<br />

ctx | ptx<br />

{} Cell array of output names.<br />

g = rect2;<br />

gm = mirror(g,[1 1],[1 1]);<br />

figure,geomplot(g),hold on,geomplot(gm),axis equal<br />

In 3D:<br />

g = block3;<br />

gm = mirror(g,[1 1 1],[1 1 1]);<br />

figure,geomplot(g),hold on,geomplot(gm),axis equal<br />

See Also<br />

geom0, geom1, geom2, geom3, scale<br />

301

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!