OpenCasCade (二) 交互对象

1.1     OCAIS_Shape

由拓扑对象对象生成交互对象。

OCTopoDS_Shape ShapeCut;

OCAIS_Shape aSection = new OCAIS_Shape(ShapeCut);

context.SetColor(aSection, OCQuantity_NameOfColor.Quantity_NOC_RED, true);

context.Display(aSection, true);

posted @ 2011-12-13 10:38  folotus  阅读(2593)  评论(0编辑  收藏  举报