Glyph Version 7.22.2 |
pw:: FaceA face is part of a block boundary, consisting of oriented, edge-connected pw::Domain objects. Derives FromSummary
delete
This action deletes the face. This can only be done if the face has not been added to a pw::Block. Calling delete on a face after it has been added to a block will generate an error. Parametersnone ReturnsThis action returns nothing. getState
This action gets the state of this face. Parametersnone ReturnsThis action returns a string with options < Complete | Incomplete | Invalid >. getDimensions
This action gets the dimensions of this face. Parametersnone ReturnsThis action returns a two integer element list of the dimensions of the face. Unstructured faces have a second dimension of 1. getPointCount
This action gets the number of points in this face. Parametersnone ReturnsThis action returns the integer number of points. getPosition
This action gets the position in the defining space of the face at the given index. Parameters
ReturnsThis action returns a point giving the position on the face, which may be in the form “u v dbentity”. getXYZ
This action gets the position of the domain in model space at the given index. Parameters
ReturnsThis action returns an XYZ vector. getCellCount
This action gets the number of cells in this face. Parametersnone ReturnsThis action returns the integer number of cells. getCell
This action gets the indices of the given cell. Parameters
ReturnsThis action returns a list of indices. getLinkages
This action gets the possible ways a domain can be added to a face. Parameters
ReturnsThis action returns a list of linkages, with each linkage entry consisting of, in order:
getDomainCount
This action gets the number of domains in this face. Parametersnone ReturnsThis action returns the integer number of domains. getDomain
This action gets a domain from this face. Parameters
ReturnsThis action returns a pw::Domain object. addDomain
This action adds a domain to this face. Parameters
See AlsoReturnsThis action returns nothing. findDomain
This action finds the given domain in this face’s domain list. Parameters
ReturnsThis action returns the integer index of the domain in the domain list, or 0 if the domain was not found. getDomainOrientation
This action gets the orientation of a domain in this face. Parameters
ReturnsThis action returns a string with options < Same | Opposite >. getEdgeCount
This action gets the number of edges in this face. Parametersnone ReturnsThis action returns the integer number of edges. getEdges
This action gets all edges from this face. ParametersThis action has no parameters. ReturnsThis action returns a pw::Edge object list. joinDomains
This action joins the domains in this face to create a single domain. Parametersnone ReturnsThis action returns a new pw::DomainStructured or pw::DomainUnstructured object. getDomains
This action gets all domains in a face. Parametersnone ReturnsThis action returns a list of pw::Domain in the face (each domain is only listed once, regardless of the number of times it is used by the face). mapLinkage
This action maps a domain linkage to the face edges. Parameters
ReturnsThis action returns a list of 4 integers values representing in order:
The start and end are arranged so that the edge and connector indices increase as you proceed from the start to the end. Note that for an unstructured face, the will be constrained to a single edge. This means that if the start connector index is higher than the end connector index, the linkage wraps around on the same edge. |
This action gets the calculated minimum surface edge length based on area of cells in all given faces.
pw::Face getSurfaceEdgeMinimumLength faces
This action gets the calculated maximum surface edge length based on area of cells in all given faces.
pw::Face getSurfaceEdgeMaximumLength faces
This action deletes the face.
$face delete
This action gets the state of this face.
$face getState
This action gets the dimensions of this face.
$face getDimensions
This action gets the number of points in this face.
$face getPointCount
This action gets the position of a face grid point.
$face getPoint index
This action gets the position in the defining space of the face at the given index.
$face getPosition ?-index? value
This action gets the position of the domain in model space at the given index.
$face getXYZ ?-index? value
This action gets the number of cells in this face.
$face getCellCount
This action gets the indices of the given cell.
$face getCell index
This action gets the possible ways a domain can be added to a face.
$face getLinkages domain
This action gets the number of domains in this face.
$face getDomainCount
This action gets a domain from this face.
$face getDomain index
This action adds a domain to this face.
$face addDomain ?-linkage linkage? domain
This action removes the last domain added to this face.
$face removeLastDomain
This action finds the given domain in this face’s domain list.
$face findDomain domain
This action gets the orientation of a domain in this face.
$face getDomainOrientation index
This action gets the number of edges in this face.
$face getEdgeCount
This action gets an edge from this face.
$face getEdge index
This action gets all edges from this face.
$face getEdges
This action finds the given edge in this face’s edge list.
$face findEdge edge
This action joins the domains in this face to create a single domain.
$face joinDomains
This action gets all domains in a face.
$face getDomains
This action maps a domain linkage to the face edges.
$face mapLinkage linkage domain