47 lines
1.6 KiB
XML
47 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
|
|
<PythonExport
|
|
Father="Conic2dPy"
|
|
Name="Circle2dPy"
|
|
PythonName="Part.Geom2d.Circle2d"
|
|
Twin="Geom2dCircle"
|
|
TwinPointer="Geom2dCircle"
|
|
Include="Mod/Part/App/Geometry2d.h"
|
|
Namespace="Part"
|
|
FatherInclude="Mod/Part/App/Geom2d/Conic2dPy.h"
|
|
FatherNamespace="Part"
|
|
Constructor="true">
|
|
<Documentation>
|
|
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
|
|
<UserDocu>Describes a circle in 3D space
|
|
To create a circle there are several ways:
|
|
Part.Geom2d.Circle2d()
|
|
Creates a default circle with center (0,0) and radius 1
|
|
|
|
Part.Geom2d.Circle2d(circle)
|
|
Creates a copy of the given circle
|
|
|
|
Part.Geom2d.Circle2d(circle, Distance)
|
|
Creates a circle parallel to given circle at a certain distance
|
|
|
|
Part.Geom2d.Circle2d(Center,Radius)
|
|
Creates a circle defined by center and radius
|
|
|
|
Part.Geom2d.Circle2d(Point1,Point2,Point3)
|
|
Creates a circle defined by three non-linear points
|
|
</UserDocu>
|
|
</Documentation>
|
|
<Methode Name="getCircleCenter" Static="true">
|
|
<Documentation>
|
|
<UserDocu>Get the circle center defined by three points</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Attribute Name="Radius" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>The radius of the circle.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Radius" Type="Float"/>
|
|
</Attribute>
|
|
</PythonExport>
|
|
</GenerateModel>
|