PointEntity
- class Communicator.Selection.PointEntity()
Methods
Methods
forJson
- PointEntity.forJson()
- Deprecated
Use
toJson
instead.- Return type
Object
getPointBits
- PointEntity.getPointBits()
Gets the cad bits for the selection Point.
- Return type
number
- Returns
The bits set on the point.
getPointId
- PointEntity.getPointId()
Gets the point identifier
- Return type
number
- Returns
the identifier of the point that was selected
getPosition
overlayIndex
- PointEntity.overlayIndex()
- Return type
- Returns
The index of the overlay the entity belongs to.
toJson
- PointEntity.toJson()
Creates an object ready for JSON serialization.
- Return type
Object
- Returns
The prepared object.
static construct
- PointEntity.construct(obj)
- Deprecated
Use
fromJson
instead.- Arguments
obj (
any()
) –
- Return type
static fromJson
- PointEntity.fromJson(objData)
Creates a new
PointEntity
from an object given bytoJson
- Arguments
objData (
any()
) – An object given bytoJson
- Return type
- Returns
The prepared object.