PointEntity
-
class
Selection.PointEntity()
Methods
-
Selection.PointEntity.getPointBits() - getPointBits(): number
Gets the cad bits for the selection Point.
Returns: number
The bits set on the point.
-
Selection.PointEntity.getPointId() - getPointId(): number
Gets the point identifier
Returns: number
the identifier of the point that was selected
-
Selection.PointEntity.getPosition() - getPosition():
Point3Gets the world space position of the selection point.
Returns:
Point3World space position of the selection point if it can be determined.
-
Selection.PointEntity.overlayIndex() - overlayIndex(): number
Returns: number
The index of the overlay the entity belongs to.
-
Selection.PointEntity.toJson() - toJson(): object
Creates an object ready for JSON serialization.
Returns: object
The prepared object.
-
static Selection.PointEntity.fromJson() static
fromJson(objData: any):PointEntityCreates a new [[PointEntity]] from an object given by [[toJson]].
Parameters
objData: any
An object given by [[toJson]].Returns:
PointEntityThe prepared object.