25 #ifndef __vtkPoints2D_h
26 #define __vtkPoints2D_h
49 virtual void Initialize();
64 virtual int GetDataType();
68 virtual void SetDataType(
int dataType);
87 virtual void Squeeze() {this->Data->Squeeze();};
90 virtual void Reset() {this->Data->Reset();};
106 unsigned long GetActualMemorySize();
126 void SetPoint(
vtkIdType id,
double x,
double y);
133 { this->Data->InsertTuple(
id,x);}
135 {this->Data->InsertTuple(
id,x);}
136 void InsertPoint(
vtkIdType id,
double x,
double y);
142 return this->Data->InsertNextTuple(x);}
144 return this->Data->InsertNextTuple(x);}
145 vtkIdType InsertNextPoint(
double x,
double y);
154 void SetNumberOfPoints(
vtkIdType number);
160 virtual void ComputeBounds();
166 void GetBounds(
double bounds[4]);
189 double p[2] = { x, y };
195 double p[2] = { x, y };
201 double p[2] = { x, y };