Glyph Version 7.22.2 |
pw:: EdgeAn edge is part of a domain boundary, consisting of oriented, node-connected pw::Connector objects. Edges cannot persist without a domain. Derives FromSummary
create
This action creates a new edge object. Parametersnone ReturnsThis action returns a new pw::Edge object. See AlsocreateFromConnectors
This action creates new edge objects from the given connectors. Parameters
NotesWhile this command will produce identical results when run with the exact same input, it may produce different results for slight variations in the input connectors. The edges may be created in a different order or may be created with different orientations. Use the explicit edge building routines (create> and addConnector commands) to build the edge in a controlled manner. ReturnsThis action returns a list of new pw::Edge objects. See AlsogetMinimumSpacing
This action gets the minimum spacing between grid points of the given edges. Parameters
ReturnsThis action returns the float minimum spacing in the range [0.0, infinity). See AlsogetMaximumSpacing
This action gets the maximum spacing between grid points of the given edges. Parameters
ReturnsThis action returns the float maximum spacing in the range [0.0, infinity). See Alsodelete
This action deletes the edge. This is only allowed if the edge has not been added to a pw::Domain. Calling delete on an edge after it has been added will generate an error. Parametersnone ReturnsThis action returns nothing. getConnector
This action gets a connector from this edge. Parameters
ReturnsThis action returns a pw::Connector object. See AlsogetConnectors
This action gets the connector list. ParametersThis action has no parameters. ReturnsThis action returns a pw::Connector object list. See AlsogetConnectorOrientation
This action gets the orientation of a connector in this edge. Parameters
ReturnsThis action returns a string with options < Same | Opposite >. See AlsogetConnectorOrientationsThis action gets the orientation of all connectors in this edge. ParametersThis action has no parameters. ReturnsThis action returns a string list with options < Same | Opposite > for each connector in the edge. The order of the list is the same as the result of getConnectors. See AlsoaddConnector
This action adds a connector to the end of this edge. Parameters
ReturnsThis action returns nothing. See AlsojoinConnectors
This action joins the connectors in this edge to form a single connector. Parametersnone ReturnsThis action returns a new pw::Connector object. InformationThe edge will still exist after this action, but will contain only one pw::Connector object oriented in the same direction as the edge. The resultant pw::Connector is returned by this action. The original connectors are left intact. getDimension
This action gets the dimension of this edge. Parametersnone ReturnsThis action returns the integer number of grid points, or 0 for an edge with non-dimensioned connectors. See AlsoisClosed
This action returns true if the edge’s ends are the same. Parametersnone ReturnsThis action returns boolean true if the edge is closed, false otherwise. getPointCount
This action gets the number of points in this edge. Parametersnone ReturnsThis action returns the integer number of points, or zero if the connectors are undimensioned. See AlsogetPoints
This action gets all the edge grid points. ParametersThis action has no parameters. ReturnsThis action returns a point list giving the grid point positions and each may be in the form “u v dbentity”. getPosition
This action gets the position in the defining space of the edge at the given index. Parameters
ReturnsThis action returns a point giving the position on the edge. It may be in the form “u v dbentity”. getXYZ
This action gets the position of the edge in model space at the given index. Parameters
ReturnsThis action returns an XYZ vector. duplicate
This action creates a copy of the edge. Parametersnone ReturnsThis action returns a pw::Edge object. See AlsogetNode
This action gets a node from an edge. Parameters
ReturnsThis action returns a pw::Node object. |
This action creates a new edge object.
pw::Edge create
This action creates new edge objects from the given connectors.
pw::Edge createFromConnectors ?-single? connectors
This action gets the minimum spacing between grid points of the given edges.
pw::Edge getMinimumSpacing edges
This action gets the maximum spacing between grid points of the given edges.
pw::Edge getMaximumSpacing edges
This action deletes the edge.
$edge delete
This action gets the number of connectors in this edge.
$edge getConnectorCount
This action gets a connector from this edge.
$edge getConnector index
This action gets the connector list.
$edge getConnectors
This action gets the orientation of a connector in this edge.
$edge getConnectorOrientation index
This action adds a connector to the end of this edge.
$edge addConnector connector
This action removes the last connector from this edge.
$edge removeLastConnector
This action reverses the order of connectors that define this edge.
$edge reverse
This action joins the connectors in this edge to form a single connector.
$edge joinConnectors
This action gets the dimension of this edge.
$edge getDimension
This action returns true if the edge’s ends are the same.
$edge isClosed
This action gets the number of points in this edge.
$edge getPointCount
This action gets the position of an edge grid point.
$edge getPoint index
This action gets all the edge grid points.
$edge getPoints
This action gets the position in the defining space of the edge at the given index.
$edge getPosition ?-index? value
This action gets the position of the edge in model space at the given index.
$edge getXYZ ?-index? value
This action creates a copy of the edge.
$edge duplicate
This action gets a node from an edge.
$edge getNode < Begin | End | index >