使用产品:SuperMap iObjects .NET 10i (Version: 10.2.0.20128)操作系统:win10 x64
数据类型:文件型
问题详细描述:使用CacheProcessor3D.MosaicTIN与idesktop处理同一份没有镶嵌效果
问题重现步骤: 1.创建一个TIN三维缓存数据 2.无镶嵌效果
private void DrawPolygonEnd(Geometry3D geo)
{
var tinlayerpath = selectitem.TagLayer.Name;
var cache_dir_path = System.IO.Path.GetDirectoryName(tinlayerpath);
var cache_dir_name = DateTime.Now.ToString("yyyy.MM.dd.HH.mm.ss");
MosaicParameter mosaicParameter = new MosaicParameter
{
Quality = MosaicQuality.Best,
SlopeWidth = 50
};
CacheProcessor3D.Stepped += CacheProcessor3D_Stepped;
if (geo is GeoRegion3D region3d)
{
region3d.Offset(0, 0, -3);
}
CacheProcessor3D.Batch.Begin();
if (CacheProcessor3D.MosaicTIN(tinlayerpath,
new System.Collections.Generic.List<Geometry>() { geo })) ;
{
Console.WriteLine($"===================,成功");
}
CacheProcessor3D.Batch.End();
globeService.ScenceRefresh();
CacheProcessor3D.Stepped -= CacheProcessor3D_Stepped;
}
感谢使用过的大佬支持!!!