HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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< Polylinepolylines
 
std::vector< TsSplineSampleSourcesources
 

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 244 of file types.h.

Member Typedef Documentation

template<typename Vertex>
using TsSplineSamplesWithSources< Vertex >::Polyline = std::vector<Vertex>

Definition at line 251 of file types.h.

Member Data Documentation

template<typename Vertex>
std::vector<Polyline> TsSplineSamplesWithSources< Vertex >::polylines

Definition at line 253 of file types.h.

template<typename Vertex>
std::vector<TsSplineSampleSource> TsSplineSamplesWithSources< Vertex >::sources

Definition at line 254 of file types.h.


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