V-ART
curve.cpp
Go to the documentation of this file.
1 
5 #include "vart/curve.h"
6 
8 {
9  unsigned int numCtrlPoints = controlPoints.size();
10  for (unsigned int i=0; i < numCtrlPoints; ++i)
11  t.ApplyTo(&controlPoints[i]);
12 }
void ApplyTo(Point4D *ptPoint) const
Applies tranformation to a point.
Definition: transform.cpp:149
std::vector< Point4D > controlPoints
Definition: curve.h:30
void ApplyTransform(const Transform &t)
Applies a transformation to all controlPoints.
Definition: curve.cpp:7
Geometric transformations.
Definition: transform.h:24
Header file for V-ART class "Curve".