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.

point1, point2, point3<br />

Purpose<br />

point1, point2, point3<br />

Constructor functions for point objects.<br />

Syntax<br />

Description<br />

p3 = point3(x,y,z)<br />

p3 = point3(vtx,vtxpre,edg,edgpre,fac,mfdpre,mfd)<br />

[p3,...] = point3(g3,...)<br />

p2 = point2(x,y)<br />

p2 = point2(vtx,edg,mfd)<br />

[p2,...] = point2(g,...)<br />

p1 = point1(x)<br />

p1 = point1(vtx)<br />

[p1,...] = point1(g,...)<br />

p3 = point3(x,y,z) creates a 3D single point object with coordinate (x,y,z).<br />

p3 = point3(vtx,vtxpre,edg,edgpre,fac,mfdpre,mfd) creates a 3D point<br />

geometry object p3 from the arguments vtx, vtxpre, edg, edgpre, fac, mfdpre,<br />

mfd. The arguments must define a valid 3D point object. See geom3 for a description<br />

of the arguments.<br />

p3 = point3(g3) coerces the 3D geometry object g3 to a 3D point object p3.<br />

p2 = point2(x,y) creates a 2D point object consisting of a single point with<br />

coordinates (x,y).<br />

p2=geom2(vtx,edg,mfd,...) creates a 2D point object from the properties vtx,<br />

edg, and mfd. The arguments must define a valid 2D point object. See geom2 for<br />

information on vtx, edg, and mfd.<br />

p2 = point2(g2) coerces the 2D geometry object to a point object.<br />

p1 = point1(x) creates a 2D point object consisting of a single point with<br />

coordinate x.<br />

p1 = point1(vtx,...) creates a 1D point object from vtx. The arguments must<br />

define a valid 1D point object. See geom1 for information on vtx.<br />

[p1,...] = point1(g,...) coerces the 1D geometry object to a point object.<br />

The coercion functions [p1,...] = point1(g1,...), [p2,...] =<br />

point2(g2,...), and [p3,...] = point3(g3,...) accept the following<br />

property/values:<br />

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

PROPERTY VALUE DEFAULT DESCRIPTION<br />

Out stx | ftx |<br />

ctx | ptx<br />

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

315

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

Saved successfully!

Ooh no, something went wrong!