-
Notifications
You must be signed in to change notification settings - Fork 0
/
nukleo.m
35 lines (26 loc) · 855 Bytes
/
nukleo.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
classdef nukleo
%NUKLEO Summary of this class goes here
% Detailed explanation goes here
properties
% Radius of the nukleo fittedcircle
rad double;
% center of the fitted circle
center = zeros(1,2);
armRatio double; % Short / Long
attachedTo;
% Number of DNA strand it is attached to
number;
% cocal center, given left upper corner of DNA bounding box
localCenter;
end
methods
function nukleoObj = nukleo(center, rad, number, localCenter)
if nargin > 0
nukleoObj.rad = rad;
nukleoObj.center = center;
nukleoObj.number = number;
nukleoObj.localCenter = localCenter;
end
end
end
end