Prod.: Engine, ver.: 6010, ID: 60000356, Wish : Edit/Change the triangle in the GroundSurface

Wish : Edit/Change the triangle in the GroundSurface

Article60000356
TypeWish
ProductEngine
Version6010
Date Added12/17/2007
FixedYes [12/19/2007]
Submitted byVissarion Giorspyros
Keywords

Subject

Edit/Change the triangle in the GroundSurface

Summary

I would like to be able to edit/change/add the triangle in the GroundSurface object.

Solution

The problem with the triangles of the vdGroundSurface object was that they were recalculated when the update method was called of the object even if the user had modified these triangles. In order to provide solution to this issue we exported in 6011 version a new property of the vdGroundSurface called "LockTriangles". This property's default value is false. When the user modifies the triangles he can then set this value to true and the triangles will stay as the user provided them and they will not be recalculated. The user can unlock the triangles if he wants our code to recalculate them. This property is serializable in VDML/VDCL format among the triangles that the user has set so if the drawing is saved then it will be opened with the triangles that the user passed.