Accessors
x
get x( ) : number
Returns number
set x( x: number ) : void
Returns void
y
get y( ) : number
Returns number
set y( y: number ) : void
Returns void
z
get z( ) : number
Returns number
set z( z: number ) : void
Returns void
Methods
_array Resolve Relative Coordinates
_array Resolve Relative Coordinates( pointArr: ( string | number ) [] , cursor?: Cursor ) : number []
Parameters
pointArr: ( string | number ) []
cursor: Cursor = null
Returns number []
_to Oc Dir
_to Oc Dir( ) : any
Returns any
_to Oc Point
_to Oc Point( ) : gp_Pnt
Returns gp_Pnt
_to Oc Vector
_to Oc Vector( ) : gp_Vec
Returns gp_Vec
distance
distance( other: PointLike ) : number
Returns number
equals
equals( other: PointLike , ... args: any [] ) : boolean
Returns boolean
is Origin
is Origin( ) : boolean
Returns boolean
to Array
to Array( ) : number []
Returns number []
to Data
to Data( ) : number []
Returns number []
to String
to String( ) : string
Returns string
Static
from Point Like
from Point Like( v: any , ... args: any [] ) : Point
Parameters
v: any
Rest
... args: any []
Static
is Point
is Point( obj: any ) : boolean
Returns boolean
We got a Point array with relative coordinates: resolve into real numbers based on previous Point
2 Types: - cartesian ['+10','-10'] - polar coordinates ['100<30'] or ['100<<20'] (relative angle)