GO2cam Javascript API  6.11
GO2SPolylineCreate Class Reference

Helper class to create polyline. More...

Static Public Member Functions

static GO2SPolyline FromEdge (GO2SReference ref, Number amin)
static GO2SPolyline FromEdges (Array< GO2SReference > refs)
static GO2SPolyline FromPoints (Array< GO2SXYZ > pts, Boolean reorder, Number close)
 See GO2SPolyline.SetFromPoints.

Detailed Description

Helper class to create polyline.

Member Function Documentation

◆ FromEdge()

GO2SPolyline GO2SPolylineCreate::FromEdge ( GO2SReference ref,
Number amin )
static

Create a polyline from a mesh edge, chaining edges with a tangency criterion

Version
6.12
Parameters
[in]refa reference to the mesh edge
[in]aminthe minimum angle with which to choose the next edge

◆ FromEdges()

GO2SPolyline GO2SPolylineCreate::FromEdges ( Array< GO2SReference > refs)
static

Create a polyline from several mesh edges, using a path-finding algorithm to create and eventually extend a line going through the edges

Version
6.12
Parameters
[in]refsreferences to the mesh edges