21 #include <TopologicCore/include/Face.h> 23 #ifndef TOPOLOGIC_DYNAMO 24 #include <Geom_BSplineSurface.hxx> 25 #include <Geom_Plane.hxx> 35 #ifndef TOPOLOGIC_DYNAMO 36 ref class NurbsSurface;
37 ref class PlanarSurface;
116 #ifdef TOPOLOGIC_DYNAMO 117 [IsVisibleInDynamoLibrary(
false)]
119 static Face^ ByNurbsParameters(List<List<Vertex^>^>^ controlPoints, List<List<double>^>^ weights, List<double>^ uKnots, List<double>^ vKnots,
bool isRational,
bool isUPeriodic,
bool isVPeriodic,
int uDegree,
int vDegree);
127 static Face^
ByEdges(System::Collections::Generic::IEnumerable<Edge^>^ edges);
182 virtual Object^
get()
override;
198 Face(
const std::shared_ptr<TopologicCore::Face>& kpCoreFace);
206 #ifdef TOPOLOGIC_DYNAMO 207 Autodesk::DesignScript::Geometry::Surface^
Surface();
217 Autodesk::DesignScript::Geometry::Mesh^ TriangulatedMesh();
224 static Face^ BySurface(Autodesk::DesignScript::Geometry::Surface^ surface);
231 static Face^ BySurface(Autodesk::DesignScript::Geometry::NurbsSurface^ pDynamoNurbsSurface,
232 array<Autodesk::DesignScript::Geometry::Curve^>^ pDynamoPerimeterCurves);
Definition: PlanarSurface.h:33
static Face ^ ByExternalInternalBoundaries(Wire^ externalBoundary, System::Collections::Generic::IEnumerable< Wire^>^ internalBoundaries)
Creates a Face by an external boundary (Wire) and internal boundaries (Wires).
Definition: Face.cpp:127
List< Edge^>^ Edges
Returns the Edges constituent to the Face.
Definition: Face.h:86
A Topology is an abstract superclass that includes constructors, properties and methods used by other...
Definition: Topology.h:53
Definition: NurbsSurface.h:33
List< Cell^>^ Cells
Returns the Cells incident to the Face.
Definition: Face.h:59
Object ^ Surface()
Definition: Face.cpp:1134
A Face is a two-dimensional region defined by a collection of closed Wires. The geometry of a face ca...
Definition: Face.h:43
std::shared_ptr< TopologicCore::Face > * m_pCoreFace
Definition: Face.h:260
List< Vertex^>^ Vertices
Returns the Vertices constituent to the Face.
Definition: Face.h:77
static Face ^ ByEdges(System::Collections::Generic::IEnumerable< Edge^>^ edges)
Creates a Face by a list of Edges.
Definition: Face.cpp:271
Face ^ AddApertureDesign(Face^ apertureDesign, int numEdgeSamples)
Adds an Aperture design to a Face.
Definition: Face.cpp:1403
Face ^ AddInternalBoundaries(List< Wire^>^ internalBoundaries)
Adds internal boundaries (Wires) to a Face.
Definition: Face.cpp:1282
List< Wire^>^ Wires
Returns the Wires constituent to the Face.
Definition: Face.h:95
List< Shell^>^ Shells
Returns the Shells incident to the Face.
Definition: Face.h:68
List< Edge^> ^ SharedEdges(Face^ face)
Returns the shared Edges between two Faces.
Definition: Face.cpp:1216
Wire^ ExternalBoundary
Returns the external boundary (Wire) of the Face.
Definition: Face.h:147
virtual std::shared_ptr< TopologicCore::TopologicalQuery > GetCoreTopologicalQuery() override
Definition: Face.cpp:1368
List< Wire^>^ InternalBoundaries
Returns the internal boundaries (Wires) of the Face.
Definition: Face.h:156
static int Type()
Returns the type associated to Face.
Definition: Face.cpp:1379
List< Face^>^ AdjacentFaces
Returns the Faces adjacent to the Face.
Definition: Face.h:50
Object^ BasicGeometry
Creates a geometry from Face.
Definition: Face.h:180
Topologic is an open-source software modelling library enabling hierarchical and topological represen...
Definition: About.h:23
List< Vertex^> ^ SharedVertices(Face^ face)
Returns the shared Vertices between two Faces.
Definition: Face.cpp:1237
static Face ^ ByWire(Wire^ wire)
Creates a Face by a closed planar Wire.
Definition: Face.cpp:119
A Wire is a contiguous collection of Edges, where adjacent Edges are connected by shared Vertices...
Definition: Wire.h:32