使用vb.net进行cad编程:[6]绘图基础类2
在绘图基础类文件夹新建类cbox
![使用vb.net进行cad编程:[6]绘图基础类2](https://exp-picture.cdn.bcebos.com/40d2d0e8b004541bfbaf3692869a310e1699a634.jpg)
Public Class CBox
'结构VERTEX用来存储点的坐标
Private m_minX, m_minY, m_maxX, m_maxY As Single
Public Property minX() As Single
Get
Return m_minX
End Get
Set(ByVal Value As Single)
m_minX = Value
End Set
End Property
Public Property minY() As Single
Get
Return m_minY
End Get
Set(ByVal Value As Single)
m_minY = Value
End Set
End Property
Public Property maxX() As Single
Get
Return m_maxX
End Get
Set(ByVal Value As Single)
m_maxX = Value
End Set
End Property
Public Property maxY() As Single
Get
Return m_maxY
End Get
Set(ByVal Value As Single)
m_maxY = Value
End Set
End Property
End Class
(共篇)上一篇:直线类1|下一篇: