Hi.
I have this:
using (Transaction trans = db.TransactionManager.StartTransaction()) { Autodesk.Civil.DatabaseServices.TinSurface tinSurface = trans.GetObject(surfaceId, OpenMode.ForRead) as Autodesk.Civil.DatabaseServices.TinSurface; foreach (TinSurfaceVertex vertice in tinSurface.Vertices) { Autodesk.AutoCAD.Geometry.Point2d punt = new Autodesk.AutoCAD.Geometry.Point2d(vertice.Location.X, vertice.Location.Y); vertexColeccio.Add(punt); } }
But foreach vertice in Vertices(TinSurfaceVertexCollection) ,it has also a "Vertice" property. Curiosly,they are various.
I don´t understand what is it "Vertice" .
Solved! Go to Solution.
Solved by joantopo. Go to Solution.
Solved.
"vertices" are vertex that they are around the vertex and conect with it.
In documentation API:
"Gets a TinSurfaceVertexCollection which contains all vertices connecting with the vertex object."
Hi,
TinSurfaceVertex -> This class encapsulates a triangle vertex in a TinSurface.
TinSurfaceVertexCollection -> This class encapsulates a collection of TinSurfaceVertex objects.
Cheers,