class WMCPoint

Available on all platforms

WMCPoint: a control point used in drawing COILs and RIBBONs

Instance Fields

var facedir:Point3D

direction of the plane (face); used only for RIBBONs

Backbone C=O bonds can be used as this plane direction for proteins.

var opos:Point3D

original position

var pos:Point3D

position of this control point

function new(p:Point3D, f:Point3D):Void

Constructor.

The position of the control point and the direction of the plane can be assigned by p and f, respectively.

function clone():WMCPoint

returns a copy of this instance

function get_facedir():Point3D

getter for facedir

function get_opos():Point3D

getter of opos

function get_pos():Point3D

getter of pos; this returns NOT a clone or a copy

function set_facedir(f:Point3D):Point3D

setter for facedir

function set_opos(p:Point3D):Point3D

setter of opos

function set_pos(p:Point3D):Point3D

setter of pos