Between A and B you definitely have an association. Since you emphasize the "consists of", it might be it's a 1:1 composite aggregate (i.e. the lifetimes of A and B are coupled).
B has an association to C. Here it sounds like a 0:1 multiplicity. The condition "if .. fulfilled" can't be captured in the static class diagram, since it describes the dynamic behaviour of the system (hence the lower bound 0 above, so that you can use null
). It isn't directly clear if points are objects (reference) or a number (attribute).
(source: yuml.me)
That's how I'd do it (via Yuml.me).
As an alternative (depending on the rest of the model), you might find that B actually extends A.