19 _vertex.set(0, 0, 0, 1);
27 _vertex(copy._vertex),
29 _space_path(copy._space_path)
36 INLINE
void NurbsVertex::
38 _vertex = copy._vertex;
40 _space_path = copy._space_path;
53 INLINE
void NurbsVertex::
54 set_vertex(
const LVecBase4 &vertex) {
61 INLINE
const LVecBase4 &NurbsVertex::
72 _space_path = std::string();
88 get_space(
const NodePath &rel_to)
const {
89 if (_space_path.empty()) {
92 return rel_to.
find(_space_path);
NodePath find(const std::string &path) const
Searches for a node below the referenced node that matches the indicated string.
This represents a single control vertex in a NurbsEvaluator.
void set_space(const NodePath &space)
Sets the space of this vertex as a fixed NodePath.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...