Length Along Curve

Find the length along the curve of a subset of points on the curve.

Installation

To use this node enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Descripton

Default

Curve Points (inputs:curvePoints)

float[3][]

Points on the curve for which the lengths are to be computed.

[]

Curve Vertex Counts (inputs:curveVertexCounts)

int[]

Vertex counts for each curve subsection whose length is to be computed. Must have the same number of elements as ‘Curve Vertex Starts’.

[]

Curve Vertex Starts (inputs:curveVertexStarts)

int[]

Vertex index starting points for each curve subsection whose length is to be computed. Must have the same number of elements as ‘Curve Vertex Counts’.

[]

Normalize (inputs:normalize)

bool

If true then normalize the curve length to a 0, 1 range.

False

Outputs

Name

Type

Descripton

Default

Length (outputs:length)

float[]

List of lengths along the curve corresponding to the input point specifications.

None

Metadata

Name

Value

Unique ID

omni.graph.nodes.LengthAlongCurve

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Length Along Curve

Categories

geometry:analysis

Generated Class Name

OgnLengthAlongCurveDatabase

Python Module

omni.graph.nodes