Path
Path Basics |
|||
| Icon | Name | Description / Applications | |
|---|---|---|---|
| AppendPointToPath | Appends a point to a path. |
||
| ClosePath | Adds the segment connecting the last point with the first one in a path. |
||
| CreateArcPath | Creates an open path containing cocircular, equidistant points. |
||
| CreateCirclePath | Creates a closed path containing cocircular, equidistant points. |
||
| CreateEllipsePath | Creates a closed path containing elliptical, equidistant points. |
||
| CreateRectanglePath | Creates a closed path containing four vertices of rectangle. |
||
| CreateSegmentPath | Creates an open path containing collinear, equidistant points. |
||
| GetPathCharacteristicPoint | Returns the selected characteristic point of a path. |
||
| GetPathCharacteristicPoint_Interpolated | Returns linear interpolation between two consecutive characteristic points of a path. |
||
| GetPathSegment | Returns the selected segment of a path. |
||
| GetPointOnPath | Returns a path point of desired distance (measured along path) from the first point of the path. |
||
| InsertToPath | Inserts a new point to a path at a specified location. |
||
| OpenPath | Removes the segment connecting the last point with the first one in a path. |
||
| RemovePointFromPath | Removes a point from a path. |
||
| SetPathCharacteristicPoint | Modifies the value of a selected characteristic point. |
||
| SkipEmptyPath | If the input path has at least one point, then it is copied to the output; otherwise Nil is returned. Secures against domain errors caused by empty paths, e.g. just before the PathBoundingBox filter is to be invoked. |
||
| SkipNotPolygon | If the input path is closed and has no self-intersections, then it is copied to the output; otherwise Nil is returned. |
||
| Subpath | Creates an open path from a continuous subsequence of the input path's points. |
||
Path Combinators |
|||
| Icon | Name | Description / Applications | |
| AveragePath | Computes the average of two paths (of equal size and type) point by point. |
||
| ConcatenatePaths | Joins up to four open paths. |
||
| ConcatenatePaths_OfArray | Joins open paths of an array. |
||
| ConcatenatePaths_OfLoop | Joins open paths appearing in consecutive iterations. |
||
Path Features |
|||
| Icon | Name | Description / Applications | |
| PathArrayPoints | Converts an array of paths to an array of points. |
||
| PathBoundingBox | Computes the smallest box containing a path. |
||
| PathBoundingBox_OrNil | Computes the smallest box containing a path; returns NIL if the path is empty. |
||
| PathDiameter | Finds the longest segment connecting two characteristic points of a path. |
||
| PathEndpoints | Returns the two endpoints of a path. |
||
| PathLength | Computes the total length of the input path. |
||
| PathMassCenter | Computes the average of the path points (all, not only characteristic ones). |
||
| PathMassCenter_OrNil | Computes the average of the path points (all, not only characteristic ones); returns NIL if the path is empty. |
||
| PathSegments | Converts a path to an array of line segments. |
||
| PathSize | Returns the number of characteristic points on the input path. |
||
Path IO |
|||
| Icon | Name | Description / Applications | |
| LoadPath | Loads serialized Path object from AVDATA file. |
||
| SavePath | Saves serialized Path object as AVDATA file. |
||
Path Spatial Transforms |
|||
| Icon | Name | Description / Applications | |
| AlignPath | Moves a path from a local coordinate system to the absolute one. Required when there is a path defined in a local coordinate system, but the next image-related filter in the program does not have any inAlignment input. |
||
| AlignPathArray | Moves an array of paths from a local coordinate system to the absolute one. Required when there are paths defined in a local coordinate system, but the next image-related filter in the program does not have any inAlignment input. |
||
| RescalePath | Translates each point of a path proportionally to its distance to a reference point. |
||
| RescalePathArray | Translates each point of each path proportionally to its distance to a reference point. |
||
| ReversePath | Reverses the order of points in a path. |
||
| RotatePath | Rotates a path clockwise around a center point. |
||
| RotatePathArray | Rotates an array of paths clockwise around a center point. |
||
| TranslatePath | Translates a path by a vector. |
||
| TranslatePathArray | Translates an array of paths by a vector. |
||
| TransposePath | Flips and rotates a path so that x-coordinates are exchanged with y-coordinates. |
||
Polygon Relations |
|||
| Icon | Name | Description / Applications | |
| TestPointInPolygon | Tests whether a point lies inside a polygon. |
||
