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);
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);