mxcad API 文档 / MdGeArray2OfPnt
Class: MdGeArray2OfPnt
表示二维点数组。
Hierarchy
↳
MdGeArray2OfPnt
Table of contents
Constructors
Properties
Methods
- ColLength
- Init
- IsDeletable
- Length
- LowerCol
- LowerRow
- NbColumns
- NbRows
- Resize
- RowLength
- SetValue
- Size
- UpperCol
- UpperRow
- Value
- getImp
- initTempObject
Constructors
constructor
• new MdGeArray2OfPnt(p1?
, p2?
, p3?
, p4?
, p5?
)
Parameters
Name | Type |
---|---|
p1? | number | object | MdGePoint |
p2? | number |
p3? | number |
p4? | number |
p5? | number |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
ColLength
▸ ColLength(): number
Returns
number
Init
▸ Init(thePoint
): void
Parameters
Name | Type |
---|---|
thePoint | MdGePoint |
Returns
void
IsDeletable
▸ IsDeletable(): boolean
Returns
boolean
Length
▸ Length(): number
Returns
number
LowerCol
▸ LowerCol(): number
Returns
number
LowerRow
▸ LowerRow(): number
Returns
number
NbColumns
▸ NbColumns(): number
Returns
number
NbRows
▸ NbRows(): number
Returns
number
Resize
▸ Resize(theRowLower
, theRowUpper
, theColLower
, theColUpper
, theToCopyData
): void
Parameters
Name | Type |
---|---|
theRowLower | number |
theRowUpper | number |
theColLower | number |
theColUpper | number |
theToCopyData | boolean |
Returns
void
RowLength
▸ RowLength(): number
Returns
number
SetValue
▸ SetValue(theRow
, theCol
, thePoint
): void
Parameters
Name | Type |
---|---|
theRow | number |
theCol | number |
thePoint | MdGePoint |
Returns
void
Size
▸ Size(): number
Returns
number
UpperCol
▸ UpperCol(): number
Returns
number
UpperRow
▸ UpperRow(): number
Returns
number
Value
▸ Value(theRow
, theCol
): MdGePoint
Parameters
Name | Type |
---|---|
theRow | number |
theCol | number |
Returns
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void