All: Reformat according to new standard
This commit is contained in:
committed by
Kacper Donat
parent
ef997f2259
commit
9fe130cd73
@@ -23,8 +23,8 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
# include <gp_Ax1.hxx>
|
||||
# include <gp_Trsf.hxx>
|
||||
#include <gp_Ax1.hxx>
|
||||
#include <gp_Trsf.hxx>
|
||||
|
||||
|
||||
#include <Base/Placement.h>
|
||||
@@ -49,7 +49,7 @@ short FeatureReference::mustExecute() const
|
||||
return GeoFeature::mustExecute();
|
||||
}
|
||||
|
||||
App::DocumentObjectExecReturn *FeatureReference::execute()
|
||||
App::DocumentObjectExecReturn* FeatureReference::execute()
|
||||
{
|
||||
return App::DocumentObject::StdReturn;
|
||||
}
|
||||
@@ -63,10 +63,8 @@ TopLoc_Location FeatureReference::getLocation() const
|
||||
rot.getValue(axis, angle);
|
||||
gp_Trsf trf;
|
||||
trf.SetRotation(gp_Ax1(gp_Pnt(), gp_Dir(axis.x, axis.y, axis.z)), angle);
|
||||
trf.SetTranslationPart(gp_Vec(pl.getPosition().x,pl.getPosition().y,pl.getPosition().z));
|
||||
trf.SetTranslationPart(gp_Vec(pl.getPosition().x, pl.getPosition().y, pl.getPosition().z));
|
||||
return TopLoc_Location(trf);
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user