Loading...
Searching...
No Matches
TsSplineSamplesWithSources< Vertex > Class Template Reference

TsSplineSamplesWithSources<Vertex> is a TsSplineSamples<Vertex> that also includes source information for each polyline. More...

#include <types.h>

Public Types

using Polyline = std::vector< Vertex >
 

Public Attributes

std::vector< Polyline > polylines
 
std::vector< TsSplineSampleSource > sources
 

Detailed Description

template<typename Vertex>
class TsSplineSamplesWithSources< Vertex >

TsSplineSamplesWithSources<Vertex> is a TsSplineSamples<Vertex> that also includes source information for each polyline.

The vertex must be one of GfVec2d, GfVec2f, or GfVec2h. Note that you may have precision or overflow issues if you use GfVec2h.

The polylines and sources vectors are parallel arrays. In other words, the source for the Polyline in polylines[i] is in sources[i] and the two vectors have the same size.

See also
TsSplineSamples and TsSpline::SampleWithSources

Definition at line 274 of file types.h.

Member Typedef Documentation

◆ Polyline

using Polyline = std::vector<Vertex>

Definition at line 281 of file types.h.

Member Data Documentation

◆ polylines

std::vector<Polyline> polylines

Definition at line 283 of file types.h.

◆ sources

std::vector<TsSplineSampleSource> sources

Definition at line 284 of file types.h.


The documentation for this class was generated from the following file: