INTEGRATION: CWS aw036 (1.10.22); FILE MERGED

2006/10/25 10:07:22 aw 1.10.22.1: #i68442# also init PlaneNormal where Point is inited for B3dEntities
This commit is contained in:
Vladimir Glazounov
2006-11-21 15:51:55 +00:00
parent 317c14ba2d
commit cd911d781e

View File

@@ -4,9 +4,9 @@
* *
* $RCSfile: base3d.cxx,v $ * $RCSfile: base3d.cxx,v $
* *
* $Revision: 1.11 $ * $Revision: 1.12 $
* *
* last change: $Author: ihi $ $Date: 2006-11-14 16:09:24 $ * last change: $Author: vg $ $Date: 2006-11-21 16:51:55 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@@ -667,6 +667,7 @@ void Base3D::AddVertex(basegfx::B3DPoint& rVertex)
// geometrische Daten // geometrische Daten
rEntity.Point() = rVertex; rEntity.Point() = rVertex;
rEntity.PlaneNormal() = basegfx::B3DVector(); // #i68442# Init PlaneNormal
rEntity.SetValid(); rEntity.SetValid();
// Nachbehandlung // Nachbehandlung
@@ -681,6 +682,7 @@ void Base3D::AddVertex(basegfx::B3DPoint& rVertex, basegfx::B3DVector& rNormal)
// geometrische Daten // geometrische Daten
rEntity.Point() = rVertex; rEntity.Point() = rVertex;
rEntity.PlaneNormal() = basegfx::B3DVector(); // #i68442# Init PlaneNormal
rEntity.SetValid(); rEntity.SetValid();
// Normale // Normale
@@ -702,6 +704,7 @@ void Base3D::AddVertex(basegfx::B3DPoint& rVertex, basegfx::B3DVector& rNormal,
// geometrische Daten // geometrische Daten
rEntity.Point() = rVertex; rEntity.Point() = rVertex;
rEntity.PlaneNormal() = basegfx::B3DVector(); // #i68442# Init PlaneNormal
rEntity.SetValid(); rEntity.SetValid();
// Normale // Normale