-
I want to add a Vertex class to display a single point. I wrote the following class modeled on the Box class. However, 14 errors occurred in
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi RileyGe, What is the user story behind a vertex shape? Do you plan to build modifier/shaping tools on top of that? Then you need to define a new ShapeType, since "solid" should really contain valid TopoDS_Solid, as all modifier expect this type when feeded with a "solid" shape type. If the vertex is only for reference, you could better implement it as an "auxiliary", as recently introduced with the DatumPlane entity type. |
Beta Was this translation helpful? Give feedback.
Hi RileyGe,
the signature of this function is
public bool SetPoint(ref Point point, int pointKey, bool isConstant)
, did you changed that or created an overload?What is the user story behind a vertex shape? Do you plan to build modifier/shaping tools on top of that? Then you need to define a new ShapeType, since "solid" should really contain valid TopoDS_Solid, as all modifier expect this type when feeded with a "solid" shape type. If the vertex is only for reference, you could better implement it as an "auxiliary", as recently introduced with the DatumPlane entity type.