21 #include <TopologicCore/include/Edge.h> 42 #ifdef TOPOLOGIC_DYNAMO 43 [IsVisibleInDynamoLibrary(
false)]
45 static Edge^ ByNurbsParameters(List<Vertex^>^ controlPoints, List<double>^ weights, List<double>^ knots,
bool isRational,
bool isPeriodic,
int degree);
102 virtual Object^
get()
override;
118 Edge(
const std::shared_ptr<TopologicCore::Edge>& kpCoreEdge);
120 #ifdef TOPOLOGIC_DYNAMO 121 Autodesk::DesignScript::Geometry::Curve^ Curve();
132 Autodesk::DesignScript::Geometry::Curve^ Curve(Handle(Geom_Curve) pOcctCurve,
const double u0,
const double u1);
139 static Edge^ ByCurve(Autodesk::DesignScript::Geometry::Curve^ curve);
146 static Edge^ ByCurve(Autodesk::DesignScript::Geometry::NurbsCurve^ pDynamoNurbsCurve);
153 static Edge^ ByCurve(Autodesk::DesignScript::Geometry::Circle^ pDynamoCircle);
160 static Edge^ ByCurve(Autodesk::DesignScript::Geometry::Line^ pDynamoLine);
List< Vertex^> ^ SharedVertices(Edge^ edge)
Returns the shared Vertices between two Edges.
Definition: Edge.cpp:592
A Vertex is a zero-dimensional entity equivalent to a geometry point.
Definition: Vertex.h:31
A Topology is an abstract superclass that includes constructors, properties and methods used by other...
Definition: Topology.h:53
An Edge is a one-dimensional entity defined by two vertices. It is important to note that while a top...
Definition: Edge.h:31
Object^ BasicGeometry
Creates a geometry from Edge.
Definition: Edge.h:100
List< Edge^>^ AdjacentEdges
Returns the Edges adjacent to the Edge.
Definition: Edge.h:51
Vertex^ StartVertex
Returns the start Vertex of the Edge.
Definition: Edge.h:60
Definition: Geometry.h:30
Vertex^ EndVertex
Returns the end Vertex of the Edge.
Definition: Edge.h:68
List< Vertex^>^ Vertices
Returns the Vertices at the ends of the Edge.
Definition: Edge.h:76
Topologic is an open-source software modelling library enabling hierarchical and topological represen...
Definition: About.h:23
static Edge ^ ByStartVertexEndVertex(Vertex^ startVertex, Vertex^ endVertex)
Creates a straight Edge by the startVertex and endVertex.
Definition: Edge.cpp:577
std::shared_ptr< TopologicCore::Edge > * m_pCoreEdge
Definition: Edge.h:177
static int Type()
Returns the type associated to Edge.
Definition: Edge.cpp:629
List< Wire^>^ Wires
Returns the Wires incident to the Edge.
Definition: Edge.h:84
virtual std::shared_ptr< TopologicCore::TopologicalQuery > GetCoreTopologicalQuery() override
Definition: Edge.cpp:618