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);
151 void SetNumberOfPoints(
vtkIdType number);
157 virtual void ComputeBounds();
163 void GetBounds(
double bounds[4]);
186 double p[2] = { x, y };
192 double p[2] = { x, y };
198 double p[2] = { x, y };