Glyph Version 3.18.3 |
pw:: EdgeEdge type Derives FromSummary
create
This action creates a new edge object. Parametersnone ReturnsThis action returns a new pw::Edge object. createFromConnectors
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 (pw::Edge.create and pw::Edge.addConnector commands) to build the edge in a controlled manner. ReturnsThis action returns a list of new pw::Edge objects. delete
This action deletes the edge. This is not 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. getConnectors
This action gets the connector list. ParametersThis action has no parameters. ReturnsThis action returns a pw::Connector object list. getConnectorOrientation
This action gets the orientation of a connector in this edge. Parameters
ReturnsThis action returns a string; Same | Opposite. addConnector
This action adds a connector to the end of this edge. Parameters
ReturnsThis action returns nothing. joinConnectors
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 connector is returned by this action. getPoint
This action gets the position of an edge grid point. Parameters
ReturnsThis action returns a point giving the grid point position. It may be in the form “u v dbentity”. getPoints
This action gets all the edge grid points. ParametersThis action has no parameters. ReturnsThis action returns a point list giving the grid point position and this 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. getNode
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 dimensions 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 >