Added support for voronoi cells
This commit is contained in:
committed by
sliptonic
parent
13742cca41
commit
bbd2c049a9
59
src/Mod/Path/App/VoronoiCellPy.xml
Normal file
59
src/Mod/Path/App/VoronoiCellPy.xml
Normal file
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
|
||||
<PythonExport
|
||||
Father="BaseClassPy"
|
||||
Name="VoronoiCellPy"
|
||||
Twin="VoronoiCell"
|
||||
TwinPointer="VoronoiCell"
|
||||
Include="Mod/Path/App/Voronoi.h"
|
||||
FatherInclude="Base/BaseClassPy.h"
|
||||
Namespace="Path"
|
||||
FatherNamespace="Base"
|
||||
Constructor="true"
|
||||
RichCompare="true"
|
||||
Delete="true">
|
||||
<Documentation>
|
||||
<Author Licence="LGPL" Name="sliptonic" EMail="shopinthewoods@gmail.com" />
|
||||
<UserDocu>Cell of a Voronoi diagram</UserDocu>
|
||||
</Documentation>
|
||||
<Attribute Name="Color" ReadOnly="false">
|
||||
<Documentation>
|
||||
<UserDocu>Assigned color of the receiver.</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="Color" Type="Int"/>
|
||||
</Attribute>
|
||||
<Attribute Name="SourceIndex" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>Returns the index of the cell's source</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="SourceIndex" Type="Int"/>
|
||||
</Attribute>
|
||||
<Attribute Name="SourceCategory" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>Returns the index of the cell's source</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="SourceCategory" Type="Int"/>
|
||||
</Attribute>
|
||||
<Attribute Name="IncidentEdge" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>Incident edge of the cell - if exists</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="IncidentEdge" Type="Object"/>
|
||||
</Attribute>
|
||||
<Methode Name="containsPoint" Const="true">
|
||||
<Documentation>
|
||||
<UserDocu>Returns true if the cell contains a point site</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="containsSegment" Const="true">
|
||||
<Documentation>
|
||||
<UserDocu>Returns true if the cell contains a segment site</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="isDegenerate" Const="true">
|
||||
<Documentation>
|
||||
<UserDocu>Returns true if the cell doesn't have an incident edge</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
</PythonExport>
|
||||
</GenerateModel>
|
||||
Reference in New Issue
Block a user