PointEntity
- class Communicator.Selection.PointEntity()
Methods
Methods
forJson
- Communicator.Selection.PointEntity.forJson()
Note
forJson is deprecated: Use
toJson
instead.- Return type
Object
getPointBits
- Communicator.Selection.PointEntity.getPointBits()
Gets the cad bits for the selection Point.
- Return type
number
- Returns
The bits set on the point.
getPointId
- Communicator.Selection.PointEntity.getPointId()
Gets the point identifier
- Return type
number
- Returns
the identifier of the point that was selected
getPosition
- Communicator.Selection.PointEntity.getPosition()
Gets the world space position of the selection point.
- Return type
Communicator.Point3
- Returns
World space position of the selection point if it can be determined.
overlayIndex
- Communicator.Selection.PointEntity.overlayIndex()
- Return type
Communicator.OverlayIndex
- Returns
The index of the overlay the entity belongs to.
toJson
- Communicator.Selection.PointEntity.toJson()
Creates an object ready for JSON serialization.
- Return type
Object
- Returns
The prepared object.