Summary for: FaceMesh < handle
Class summary
FaceMesh methods: FaceMesh - is a class. find_element - coordinates to mesh coordinates getMappingMatrix - FaceMesh/getMappingMatrix is a function. init_rectangular - { init_triangular - { plot_edges - FaceMesh/plot_edges is a function. reduce - Refer coordinates to first symmetry sector. reduce_to_mesh_coordinates - FaceMesh/reduce_to_mesh_coordinates is a function. split_line - Split line element-wise. split_line_2 - split_line Split line element-wise. to_mesh_coordinates - to_local Reduce node to face coordinates triplot - FaceMesh/triplot is a function.
Properties
.FaceMesh/edges is a property.
.FaceMesh/edges2elements is a property.
.FaceMesh/element_type is a property.
.FaceMesh/elements is a property.
.FaceMesh/elements2edges is a property.
.FaceMesh/n_ccw is a property.
.FaceMesh/n_cw is a property.
.components in this
.FaceMesh/p is a property.
.FaceMesh/parent_edges is a property.
.FaceMesh/parent_elements is a property.
.corresponding components in parent
.FaceMesh/parent_nodes is a property.
.FaceMesh/r is a property.
.FaceMesh/sector_angle is a property.
.FaceMesh/t is a property.
.FaceMesh/tree is a property.
Methods
Class methods are listed below. Inherited methods are not included.
.FaceMesh/FaceMesh is a constructor.
this = FaceMesh(parent, edges_on_parent, elements_on_parent) Documentation for FaceMesh/FaceMesh doc FaceMesh
.coordinates to mesh coordinates
got_here = false;
.FLIP Flip the order of elements
Y = FLIP(X) returns a vector Y with the same dimensions as X, but with the order of elements flipped. If X is a matrix, each column is flipped vertically. For N-D arrays, FLIP(X) operates on the first nonsingleton dimension.
FLIP(X,DIM) works along the dimension DIM.
For example, FLIP(X) where
X = 1 4 produces 3 6 2 5 2 5 3 6 1 4
Class support for input X: float: double, single integers: uint8, int8, uint16, int16, uint32, int32, uint64, int64 char, logical
See also FLIPLR, FLIPUD, ROT90, PERMUTE.
.FaceMesh/getMappingMatrix is a function.
[F, F0] = getMappingMatrix(this, els, varargin)
.{
face 1
.{
face 1
.FaceMesh/plot_edges is a function.
plot_edges(this, es, varargin)
.reduce Refer coordinates to first symmetry sector.
.FaceMesh/reduce_to_mesh_coordinates is a function.
xloc = reduce_to_mesh_coordinates(this, x)
.split_line Split line element-wise.
out = split_line(this, xstart_global, xend_global) DOES NOT WORK
out = split_line(this, edges, coordinates)
.split_line Split line element-wise.
out = split_line(this, xstart_global, xend_global) DOES NOT WORK
out = split_line(this, edges, coordinates)
.FaceMesh/tangent is a function.
t = tangent(this, xstart, xend)
.FaceMesh/to_local is a function.
x_local = to_local(this, X, els)
.to_local Reduce node to face coordinates
.FIXME rename to_parent_coordinates
.FaceMesh/to_self_global is a function.
x_local = to_self_global(this, X, els)
.TRIPLOT Plots a 2D triangulation
TRIPLOT(TRI,X,Y) displays the triangles defined in the M-by-3 matrix TRI. A row of TRI contains indices into X,Y that define a single triangle. The default line color is blue.
TRIPLOT(TR) displays the triangles in the triangulation TR.
TRIPLOT(…,COLOR) uses the string COLOR as the line color.
H = TRIPLOT(…) returns a line handle representing the displayed triangles edges.
TRIPLOT(…,’param’,’value’,’param’,’value’…) allows additional line param/value pairs to be used when creating the plot.
Example 1: X = rand(10,2); dt = delaunayTriangulation(X); triplot(dt)
Example 2: % Plotting a Delaunay triangulation in face-vertex format X = rand(10,2); dt = delaunayTriangulation(X); tri = dt(:,:); triplot(tri, X(:,1), X(:,2));
See also TRISURF, TRIMESH, DELAUNAY, triangulation, delaunayTriangulation.
.FaceMesh/vector_to_global is a function.
V = vector_to_global(this, v, x_local)
.FaceMesh/vector_to_local is a function.
x_local = vector_to_local(this, X, els)