Commit 4606f46b authored by luz.paz's avatar luz.paz Committed by luz paz

More follow-up typos

parent c58cee2d
......@@ -108,7 +108,7 @@ public:
* - @a Expand: The default behavior. The draw area will automatically resize
* to take up as much of @a Geometry as possible. Margin sizes are
* minimized based on the space required for axis labels/tick marks.
* - FixedAspect: Same as Expand, but a fixed aspected ratio is enforced.
* - FixedAspect: Same as Expand, but a fixed aspect ratio is enforced.
* See SetFixedAspect.
* - FixedRect: Draw area is always constrained to a fixed rectangle.
* See SetFixedRect.
......
......@@ -18,7 +18,7 @@
* @brief Class for drawing box plots.
*
*
* Plots to draw box plots given columns from a vtkTable that may contains
* Plots to draw box plots given columns from a vtkTable that may contain
* 5 lines with quartiles and median.
*/
......
......@@ -277,8 +277,8 @@ void vtkKochanekSpline::Fit1D (int size, double *x, double *y,
break;
case 3:
// desired secord derivative at leftmost point is leftValue
// times secod derivative at first interior point
// desired second derivative at leftmost point is leftValue
// times second derivative at first interior point
if ((leftValue > (-2.0 + VTK_EPSILON)) ||
(leftValue < (-2.0 - VTK_EPSILON)))
{
......@@ -312,8 +312,8 @@ void vtkKochanekSpline::Fit1D (int size, double *x, double *y,
break;
case 3:
// desired secord derivative at rightmost point is rightValue
// times secord derivative at last interior point
// desired second derivative at rightmost point is rightValue
// times second derivative at last interior point
if ((rightValue > (-2.0 + VTK_EPSILON)) ||
(rightValue < (-2.0 - VTK_EPSILON)))
{
......
......@@ -3482,7 +3482,7 @@ int TestGetAdjustedScalarRange()
if (range[0] != uc->GetDataTypeMin() ||
range[1] != uc->GetDataTypeMax())
{
std::cout << " GetAjustedScalarRange(unsigned char) expected "
std::cout << " GetAdjustedScalarRange(unsigned char) expected "
<< uc->GetDataTypeMin() << ", " << uc->GetDataTypeMax()
<< " but got " << range[0] << ", " << range[1]
<< std::endl;
......@@ -3509,7 +3509,7 @@ int TestGetAdjustedScalarRange()
if (range[0] != us->GetDataTypeMin() ||
range[1] != us->GetDataTypeMax())
{
std::cout << " GetAjustedScalarRange(unsigned short) expected "
std::cout << " GetAdjustedScalarRange(unsigned short) expected "
<< us->GetDataTypeMin() << ", " << us->GetDataTypeMax()
<< " but got " << range[0] << ", " << range[1]
<< std::endl;
......@@ -3520,7 +3520,7 @@ int TestGetAdjustedScalarRange()
if (range[0] != us->GetDataTypeMin() ||
range[1] != 4095.0)
{
std::cout << " GetAjustedScalarRange(unsigned short) expected "
std::cout << " GetAdjustedScalarRange(unsigned short) expected "
<< us->GetDataTypeMin() << ", " << 4095.0
<< " but got " << range[0] << ", " << range[1]
<< std::endl;
......@@ -3531,7 +3531,7 @@ int TestGetAdjustedScalarRange()
if (range[0] != us->GetDataTypeMin() ||
range[1] >= uc->GetDataTypeMax())
{
std::cout << " GetAjustedScalarRange(unsigned short) expected "
std::cout << " GetAdjustedScalarRange(unsigned short) expected "
<< us->GetDataTypeMin() << ", " << ">= " << uc->GetDataTypeMax()
<< " but got " << range[0] << ", " << range[1]
<< std::endl;
......@@ -3541,7 +3541,7 @@ int TestGetAdjustedScalarRange()
// Test nullptr array
if (vtkMath::GetAdjustedScalarRange(nullptr, 1000, nullptr))
{
std::cout << " GetAjustedScalarRange with a nullptr array expected "
std::cout << " GetAdjustedScalarRange with a nullptr array expected "
<< 0
<< " but got " << 1
<< std::endl;
......
......@@ -76,7 +76,7 @@ int otherCellTypes(int, char *[])
{
TestOCT();
// Might need to be ajusted if vtkCellTypes changes
// Might need to be adjusted if vtkCellTypes changes
bool fail1 = (VTK_NUMBER_OF_CELL_TYPES <= VTK_HIGHER_ORDER_HEXAHEDRON);
// vtkUnstructuredGrid uses uchar to store cellId
......
......@@ -22,7 +22,7 @@
* Note that input data arrays should match (same number of arrays with same names in each input)
*
* Option MergeCoincidentAtoms specifies if coincident atoms should be merged or not.
* This may be usefull in Parallel mode to remove ghost atoms when gather molecule on a rank.
* This may be useful in Parallel mode to remove ghost atoms when gather molecule on a rank.
* When merging, use the data of the non ghost atom. If none, use the data of the last coincident atom.
* This option is active by default.
*/
......@@ -51,7 +51,7 @@ public:
//@{
/**
* Specify if coincident atoms (atom with excatly the same position)
* Specify if coincident atoms (atom with exactly the same position)
* should be merged into one.
* True by default.
*/
......
......@@ -117,7 +117,7 @@ protected:
int GetSingleLoop(vtkPolyData *pd,simPolygon *loop, vtkIdType nextCell,
std::vector<bool> &interPtBool, std::vector<bool> &lineBool);
//Follow a loop orienation to iterate around a split polygon
//Follow a loop orientation to iterate around a split polygon
int FollowLoopOrientation(vtkPolyData *pd, simPolygon *loop,
vtkIdType *nextCell,
vtkIdType nextPt, vtkIdType prevPt,
......@@ -128,7 +128,7 @@ protected:
vtkIdType *nextCell, vtkIdType nextPt,
vtkIdType prevPt, vtkIdList *pointCells);
//Get the loop orienation is already given
//Get the loop orientation is already given
int GetLoopOrientation(vtkPolyData *pd, vtkIdType cell, vtkIdType ptId1,
vtkIdType ptId2);
......@@ -161,7 +161,7 @@ public:
// Map from points to the cells that contain them. Used for point
// data interpolation. For points on the edge between two cells, it
// does not matter which cell is recorded bcause the interpolation
// does not matter which cell is recorded because the interpolation
// will be the same. One array for each output surface.
vtkIdTypeArray *PointCellIds[2];
vtkIntArray *BoundaryPoints[2];
......
......@@ -3131,7 +3131,7 @@ int TestUnstructuredGridGeometryFilter(int argc, char* argv[])
pointId+=39;
// 3D: biquadraticquadratic hexahedron: 3 with a some with a common face
// with no center point, and other with a face witha center point.
// with no center point, and other with a face with a center point.
xOffset+=2.0;
// a face (back): 0-3
......
......@@ -231,7 +231,7 @@ public:
/**
* Adds the region IDs for which this process has data to
* the supplied vtkIntArray. Retruns the number of regions.
* the supplied vtkIntArray. Returns the number of regions.
*/
int GetRegionListForProcess(int processId, vtkIntArray *regions);
......
......@@ -69,7 +69,7 @@ public:
/**
* Given the name of the point array and AMR block composite index, this
* method returns a pointer to the point data array.
* NOTE: Null is returend if the point array and /or block is not cached.
* NOTE: Null is returned if the point array and /or block is not cached.
*/
vtkDataArray* GetAMRBlockPointData(
int compositeIdx, const char *dataName );
......
......@@ -88,7 +88,7 @@ void vtkOpenVRCamera::GetHMDEyeProjections(vtkRenderer *ren)
float fxmin, fxmax, fymin, fymax;
double xmin, xmax, ymin, ymax;
// note docs are propbably wrong in OpenVR arg list for this func
// note docs are probably wrong in OpenVR arg list for this func
hMD->GetProjectionRaw( vr::Eye_Left, &fxmin, &fxmax, &fymin, &fymax);
xmin = fxmin*znear;
xmax = fxmax*znear;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment