Skip to content
On this page

mxcad API 文档 / MdGeArray2OfPnt

Class: MdGeArray2OfPnt

表示二维点数组。

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeArray2OfPnt(p1?, p2?, p3?, p4?, p5?)

Parameters

NameType
p1?number | object | MdGePoint
p2?number
p3?number
p4?number
p5?number

Overrides

Mx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dBaseObject.imp

Methods

ColLength

ColLength(): number

Returns

number


Init

Init(thePoint): void

Parameters

NameType
thePointMdGePoint

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

NameType
theRowLowernumber
theRowUppernumber
theColLowernumber
theColUppernumber
theToCopyDataboolean

Returns

void


RowLength

RowLength(): number

Returns

number


SetValue

SetValue(theRow, theCol, thePoint): void

Parameters

NameType
theRownumber
theColnumber
thePointMdGePoint

Returns

void


Size

Size(): number

Returns

number


UpperCol

UpperCol(): number

Returns

number


UpperRow

UpperRow(): number

Returns

number


Value

Value(theRow, theCol): MdGePoint

Parameters

NameType
theRownumber
theColnumber

Returns

MdGePoint


getImp

getImp(): any

Returns

any

Inherited from

Mx3dBaseObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

Mx3dBaseObject.initTempObject