21.01.2015 Views

COMSOL Multiphysics™

COMSOL Multiphysics™

COMSOL Multiphysics™

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

face3<br />

Purpose<br />

face3<br />

Create 3D surface geometry object.<br />

Syntax<br />

Description<br />

f3 = face3(x,y,z)<br />

f3 = face3(x,y,z,w)<br />

f3 = face3(vtx,vtxpre,edg,edgpre,fac,mfdpre,mfd)<br />

[f3,...] = face3(g3,...)<br />

f3 = face3(g2)<br />

f3 = face3(x,y,z) creates a face3 object f3. The degree of the rational Bézier<br />

surfaces is determined from the size of the matrices x, y and z. The arrays x, y and z<br />

are always of equal size. If size(x,2)>1 then a rectangular patch is created. If<br />

size(x,2)==1 then a triangular patch is created.<br />

The valid combinations of matrix sizes of x, y and z are: 3-by-1 for creating<br />

triangular planar patches, 2-by-2, 3-by-2, 4-by-2, 3-by-3, 4-by-3, 4-by-4 for<br />

rectangular patches of degree (1,1), (2,1), (3,1), (2,2), (3,2), and (3,3) respectively.<br />

f3 = face3(x,y,z,w) works similarly to the above, but also applies arbitrary<br />

positive weights to the points of the surface.<br />

f3 = face3(vtx,vtxpre,edg,edgpre,fac,mfdpre,mfd) creates a 3D surface<br />

geometry object f3 from the fields vtx, vtxpre, edg, edgpre, fac, mfdpre, mfd.<br />

The arguments must define a valid face object. See geom3 for a description of the<br />

arguments.<br />

[f3,...] = face3(g3,...) coerces the 3D geometry object g3 to a 3D face<br />

object f3.<br />

f3 = face3(g2) coerces the 2D geometry object g2 to a 3D face object f3. The<br />

object f3 is then embedded in the plane z=0 and is a trimmed planar patch since it<br />

is not in general representable as a rectangular or triangular Bézier patch.<br />

The coercion function [f3,...] = face3(g3,...) a accepts the following<br />

property/values:<br />

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

PROPERTY VALUE DEFAULT DESCRIPTION<br />

Out stx | ftx |<br />

ctx | ptx<br />

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

See geomcsg and geom for more information on geometry objects.<br />

The 3D geometry object properties are available. The properties can be accessed<br />

using the syntax get(object,property). See geom3 for details.<br />

117

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

Saved successfully!

Ooh no, something went wrong!