- Timestamp:
- Nov 17, 2014 4:09:15 AM (6 years ago)
- Location:
- vtkvis/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
vtkvis/trunk/DataSet.cpp
r3961 r4739 254 254 #endif 255 255 return _dataSet; 256 }257 258 /**259 * \brief Does DataSet lie in the XY plane (z = 0)260 */261 bool DataSet::isXY() const262 {263 double bounds[6];264 getBounds(bounds);265 return (bounds[4] == 0. && bounds[4] == bounds[5]);266 256 } 267 257 -
vtkvis/trunk/DataSet.h
r3818 r4739 49 49 50 50 vtkDataSet *copyData(vtkDataSet *ds); 51 52 bool isXY() const;53 51 54 52 int numDimensions() const;
Note: See TracChangeset
for help on using the changeset viewer.