Revision: 49025 http://brlcad.svn.sourceforge.net/brlcad/?rev=49025&view=rev Author: indianlarry Date: 2012-01-24 11:10:52 +0000 (Tue, 24 Jan 2012) Log Message: ----------- Add face reversing flag and function
Modified Paths: -------------- brlcad/trunk/src/conv/step/Face.cpp brlcad/trunk/src/conv/step/Face.h Modified: brlcad/trunk/src/conv/step/Face.cpp =================================================================== --- brlcad/trunk/src/conv/step/Face.cpp 2012-01-24 10:38:52 UTC (rev 49024) +++ brlcad/trunk/src/conv/step/Face.cpp 2012-01-24 11:10:52 UTC (rev 49025) @@ -37,11 +37,13 @@ Face::Face() { step = NULL; id = 0; + reverse = false; } Face::Face(STEPWrapper *sw,int step_id) { step = sw; id = step_id; + reverse = false; } Face::~Face() { @@ -109,6 +111,11 @@ TopologicalRepresentationItem::Print(level+1); } +void +Face::ReverseFace() { + reverse = true; +} + STEPEntity * Face::Create(STEPWrapper *sw, SCLP23(Application_instance) *sse) { Factory::OBJECTS::iterator i; Modified: brlcad/trunk/src/conv/step/Face.h =================================================================== --- brlcad/trunk/src/conv/step/Face.h 2012-01-24 10:38:52 UTC (rev 49024) +++ brlcad/trunk/src/conv/step/Face.h 2012-01-24 11:10:52 UTC (rev 49025) @@ -41,6 +41,7 @@ static string entityname; protected: + bool reverse; LIST_OF_FACE_BOUNDS bounds; public: @@ -51,6 +52,7 @@ bool Load(STEPWrapper *sw, SCLP23(Application_instance) *sse); virtual bool LoadONBrep(ON_Brep *brep); virtual void Print(int level); + virtual void ReverseFace(); //static methods static STEPEntity *Create(STEPWrapper *sw,SCLP23(Application_instance) *sse); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits