19 #include "TopologicalQuery.h" 21 #include <TopologicCore/include/Topology.h> 23 #pragma make_public(TopologicCore::Topology) 24 #pragma make_public(TopologicCore::TopologyPtr) 29 #ifdef TOPOLOGIC_DYNAMO 30 using namespace Autodesk::DesignScript::Runtime;
36 ref class CellComplex;
47 ref class TopologyFactory;
56 #ifdef TOPOLOGIC_DYNAMO 57 static Topology^ ByGeometry(Autodesk::DesignScript::Geometry::Geometry^ geometry, [DefaultArgument(
"0.0001")]
double tolerance);
70 [IsVisibleInDynamoLibrary(
false)]
71 static Topology^ ByPolySurface(Autodesk::DesignScript::Geometry::PolySurface^ polySurface);
78 [IsVisibleInDynamoLibrary(
false)]
79 static Topology^ ByFaces(System::Collections::Generic::IEnumerable<Face^>^ faces);
88 static List<Topology^>^ ByVerticesIndices(System::Collections::Generic::IEnumerable<Vertex^>^ vertices, System::Collections::Generic::IEnumerable<System::Collections::Generic::List<int>^>^ vertexIndices);
94 property int Dimensionality
103 #ifdef TOPOLOGIC_DYNAMO 104 [IsVisibleInDynamoLibrary(
false)]
106 property Object^ BasicGeometry
108 virtual Object^
get()
abstract;
117 virtual Object^
get();
125 #ifdef TOPOLOGIC_DYNAMO 126 [IsVisibleInDynamoLibrary(
false)]
134 property List<Topology^>^ Contents
136 List<Topology^>^
get();
143 property List<Aperture^>^ Apertures
145 List<Aperture^>^
get();
152 #ifdef TOPOLOGIC_DYNAMO 153 [IsVisibleInDynamoLibrary(
false)]
155 property List<Topology^>^ SubContents
157 List<Topology^>^
get();
164 property List<Context^>^ Contexts
166 List<Context^>^
get();
182 #ifdef TOPOLOGIC_DYNAMO 183 Topology^ AddContents(List<Topology^>^ contentTopologies, [DefaultArgument(
"0")]
int typeFilter);
185 Topology^ AddContents(List<Topology^>^ contentTopologies,
int typeFilter);
193 #ifdef TOPOLOGIC_DYNAMO 194 [IsVisibleInDynamoLibrary(
false)]
203 Topology^ RemoveContents(List<Topology^>^ contentTopologies);
217 Topology^ AddApertures(System::Collections::Generic::IEnumerable<Topology^>^ apertureTopologies);
242 List<Topology^>^ SharedTopologies(
244 #ifdef TOPOLOGIC_DYNAMO
245 [Autodesk::DesignScript::Runtime::DefaultArgument(
"255")]
343 bool ExportToBRep(String^ path);
350 static Topology^ ByImportedBRep(String^ path);
358 #ifdef TOPOLOGIC_DYNAMO 359 [IsVisibleInDynamoLibrary(
false)]
361 property bool IsReversed
370 #ifdef TOPOLOGIC_DYNAMO 371 [IsVisibleInDynamoLibrary(
false)]
373 property List<Topology^>^ SubTopologies
375 List<Topology^>^
get();
382 property List<Shell^>^ Shells
391 property List<Face^>^ Faces
400 property List<Wire^>^ Wires
409 property List<Edge^>^ Edges
418 property List<Vertex^>^ Vertices
420 List<Vertex^>^
get();
427 property List<Cell^>^ Cells
436 property List<CellComplex^>^ CellComplexes
438 List<CellComplex^>^
get();
461 #ifdef TOPOLOGIC_DYNAMO 462 [IsVisibleInDynamoLibrary(
false)]
464 [Autodesk::DesignScript::Runtime::DefaultArgument(
"255")]
int typeFilter);
475 #ifdef TOPOLOGIC_DYNAMO 476 [IsVisibleInDynamoLibrary(
false)]
490 property String^ TypeAsString
510 static List<Topology^>^ Filter(List<Topology^>^ topologies,
int typeFilter);
512 #ifdef TOPOLOGIC_DYNAMO 513 [IsVisibleInDynamoLibrary(
false)]
515 void RegisterFactory(
const TopologicCore::Topology::Ptr& kpCoreTopology, Factories::TopologyFactory^ topologyFactory);
517 #ifdef TOPOLOGIC_DYNAMO 518 [IsVisibleInDynamoLibrary(
false)]
520 void RegisterFactory(String^ rkGUID, Factories::TopologyFactory^ topologyFactory);
536 #ifdef TOPOLOGIC_DYNAMO
537 [Autodesk::DesignScript::Runtime::DefaultArgument(
"255")]
545 property System::Collections::Generic::Dictionary<String^, Object^>^
Dictionary 547 System::Collections::Generic::Dictionary<String^, Object^>^
get();
551 static Topology^ ByCoreTopology(
const std::shared_ptr<TopologicCore::Topology>& kpCoreTopology);
553 Object^ CleanupGeometryOutput(List<Object^>^ geometry);
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
Definition: Geometry.h:30
TopologicalQuery is the base class for Topology and Context classes.
Definition: TopologicalQuery.h:27
Definition: Dictionary.h:24
Topologic is an open-source software modelling library enabling hierarchical and topological represen...
Definition: About.h:23