Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ifcapps committed Aug 30, 2022
1 parent 1590575 commit 8ec83ef
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion IfcPlusPlus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ endif(WIN32)
file (GLOB ifc4_source "src/ifcpp/IFC4/lib/*.cpp")

if(UNIX)
# do not add src/external/XUnzip.cpp on unix plattforms
# do not add src/external/XUnzip.cpp on unix platforms
set(IFCPP_SOURCE_FILES
src/ifcpp/IFC4/EntityFactory.cpp
src/ifcpp/IFC4/TypeFactory.cpp
Expand Down
2 changes: 1 addition & 1 deletion IfcPlusPlus/src/ifcpp/geometry/Carve/GeometryInputData.h
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ class ProductShapeData

if (transform_self->m_placement_entity_id >= 0 && transform_self->m_placement_entity_id == transform_other->m_placement_entity_id)
{
// skip matrices that are the same at both products, to avoid unecessary multiplications and numerical inaccuracies
// skip matrices that are the same at both products, to avoid unnecessary multiplications and numerical inaccuracies
++it_self;
++it_other;
continue;
Expand Down
2 changes: 1 addition & 1 deletion IfcPlusPlus/src/ifcpp/geometry/Carve/SolidModelConverter.h
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ class SolidModelConverter : public StatusCallback
}
polyhedron_data->addVertex( primitive_placement_matrix*carve::geom::VECTOR( 0.0, 0.0, -radius ) ); // bottom

// uppper triangle fan
// upper triangle fan
for( int i = 0; i < nvc - 1; ++i )
{
polyhedron_data->addFace( 0, i + 2, i + 1 );
Expand Down
2 changes: 1 addition & 1 deletion IfcPlusPlus/src/ifcpp/geometry/Carve/SplineConverter.h
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ class SplineConverter : public StatusCallback
const size_t num_curve_pts = num_control_pts * m_geom_settings->getNumVerticesPerControlPoint();
std::vector<double> knot_vec;

// set weighting factors to 1.0 in case of homogenious curve
// set weighting factors to 1.0 in case of homogeneous curve
vec_weights.resize( num_control_pts + 1, 1.0 );

shared_ptr<IfcBSplineCurveWithKnots> bspline_curve_with_knots = dynamic_pointer_cast<IfcBSplineCurveWithKnots>( bspline_curve );
Expand Down
2 changes: 1 addition & 1 deletion IfcPlusPlus/src/ifcpp/geometry/OCC/SplineConverterOCC.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ class SplineConverterOCC : public StatusCallback
const size_t num_curve_pts = num_control_pts * m_geom_settings->getNumVerticesPerControlPoint();
std::vector<double> knot_vec;

// set weighting factors to 1.0 in case of homogenious curve
// set weighting factors to 1.0 in case of homogeneous curve
vec_weights.resize( num_control_pts + 1, 1.0 );

shared_ptr<IfcBSplineCurveWithKnots> bspline_curve_with_knots = dynamic_pointer_cast<IfcBSplineCurveWithKnots>( bspline_curve );
Expand Down
2 changes: 1 addition & 1 deletion IfcPlusPlus/src/ifcpp/reader/ReaderUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ void readTypeOfStringList( const wchar_t* str, std::vector<shared_ptr<T> >& targ
{
if( isspace( *ch ) )
{
// ingore leading space characters
// ignore leading space characters
++ch;
continue;
}
Expand Down

0 comments on commit 8ec83ef

Please sign in to comment.