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.

tangent<br />

TABLE 1-47: OUTPUT DATA TYPES<br />

ENTRY IN OUT CELL ARRAY<br />

Coord1<br />

Coord2<br />

DESCRIPTION<br />

Coordinate of starting point<br />

Coordinate of ending point<br />

Examples The following command generates a tangent from the unit circle to the point (2, 0)<br />

and plots the result:<br />

c=circ2;<br />

t=tangent(c,[2 0]);<br />

geomplot(c); hold on; geomplot(t);<br />

The following command generates a common tangent between two circles and plots<br />

the result:<br />

c1=circ2;<br />

c2=circ2(1,'pos',[2 2]);<br />

t=tangent(c1,c2,'dom1',4,'dom2',4);<br />

geomplot(c1); hold on; geomplot(c2); geomplot(t);<br />

398 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!