ArchitectureElementsGeometryService
Canonical path: NemAll_Python_ArchElements.ArchitectureElementsGeometryService
Implementation of the architecture elements geometry service
CreatePlacementArc
staticmethod
GetOpeningOffsetPoints
staticmethod
GetOpeningOffsetPoints(
parentEle: BaseElementAdapter, placementPnt: Point2D
) -> tuple[bool, Point2D, Point2D]
Get the offset points for the opening
Parameters:
-
parentEle
(BaseElementAdapter
) –Parent element of the opening
-
placementPnt
(Point2D
) –Placement point
Returns:
GetOuterPolyline
staticmethod
GetOuterPolyline(
elementPolygon: Polygon2D, refLine: Line2D, elementAxis: object
) -> Polyline2D
Get the outer polyline from a curved element located at the reference line
Parameters:
-
elementPolygon
(Polygon2D
) –Polygon of the curved element
-
refLine
(Line2D
) –Reference line of the polyline
-
elementAxis
(object
) –Axis of the element
Returns:
-
Polyline2D
–Outer polyline
GetOutlineSegmentAndPoint
staticmethod
GetOutlineSegmentAndPoint(
element: BaseElementAdapter, refPoint: Point2D
) -> tuple[Line2D, Point2D, BaseElementAdapter]
Get the outline segment and point related to the reference point
Parameters:
-
element
(BaseElementAdapter
) –Element
-
refPoint
(Point2D
) –Reference point
Returns:
-
tuple[Line2D, Point2D, BaseElementAdapter]
–Outline segment, point and element
Placeholder