摘要
在详细分析OracleSpatial(空间数据库)矢量图元模型的基础上,应用GOF设计模式中的组合模式(composite)来组织矢量图形系统中的图元类,提高了代码的可重用性和可扩展性,同时对复杂图元的设计也有一定的借鉴意义。
This paper applies the composite pattern in GOF design pattern to structure the classes of graphic elements in the system of vector graphic after analyzed the model of vector graphic elements of Oracle Spatial carefully,it improves the reusability and extensibility of code. This paper,to some extent,has an instructive significance for the design of complex graphic element.
出处
《电力系统通信》
2005年第2期57-60,共4页
Telecommunications for Electric Power System