在绘图懋鲕壶迎基础类文件夹新建类cbox
时间:2024-11-01 06:30:28
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