public void SetParameter(IMultiPolygon sSection, IMultiPolygon eSection, IPolyline polyline) { try { base._cullModel = gviCullFaceMode.gviCullNone; this.SetColorRender(new uint[] { uint.MaxValue, uint.MaxValue, uint.MaxValue, uint.MaxValue }); if ((sSection != null) && (eSection != null)) { IPolygon geometry = sSection.GetGeometry(0) as IPolygon; if (geometry != null) { if (geometry.QueryNormal().Z < 0.0) { GeometryTool.ReversePolygon(ref geometry); } this._pillarSection = new PillarSection(geometry); DrawGeometry.GetPolylineVtxs(polyline, ref this._x, ref this._y, ref this._z, ref this._route); } } } catch (Exception exception) { SystemLog.Instance.Log(exception.StackTrace); } }