ifcopenshell.api.alignment.create_horizontal_alignment_by_pi_method

Module Contents

ifcopenshell.api.alignment.create_horizontal_alignment_by_pi_method.create_horizontal_alignment_by_pi_method(file: ifcopenshell.file, name: str, hpoints: Sequence[Sequence[float]], radii: Sequence[float]) ifcopenshell.entity_instance

Create a horizontal alignment using the PI layout method.

Parameters:
  • name – value for Name attribute

  • hpoints – (X, Y) pairs denoting the location of the horizontal PIs, including start (POB) and end (POE).

  • radii – radius values to use for transition

Returns:

Returns a IfcAlignmentHorizontal