46 lines
1.6 KiB
XML
46 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="GeometryCurvePy"
|
|
Name="LineSegmentPy"
|
|
PythonName="Part.LineSegment"
|
|
Twin="GeomLineSegment"
|
|
TwinPointer="GeomLineSegment"
|
|
Include="Mod/Part/App/Geometry.h"
|
|
Namespace="Part"
|
|
FatherInclude="Mod/Part/App/GeometryCurvePy.h"
|
|
FatherNamespace="Part"
|
|
Constructor="true">
|
|
<Documentation>
|
|
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
|
|
<UserDocu>Describes a line segment
|
|
To create a line segment there are several ways:
|
|
Part.LineSegment()
|
|
Creates a default line segment
|
|
|
|
Part.LineSegment(LineSegment)
|
|
Creates a copy of the given line segment
|
|
|
|
Part.LineSegment(Point1,Point2)
|
|
Creates a line segment that goes through two given points</UserDocu>
|
|
</Documentation>
|
|
<Methode Name="setParameterRange">
|
|
<Documentation>
|
|
<UserDocu>Set the parameter range of the underlying line geometry</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Attribute Name="StartPoint" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>Returns the start point of this line.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="StartPoint" Type="Object"/>
|
|
</Attribute>
|
|
<Attribute Name="EndPoint" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>Returns the end point point of this line.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="EndPoint" Type="Object"/>
|
|
</Attribute>
|
|
</PythonExport>
|
|
</GenerateModel>
|