CreateSegment3D


Produces a segment in 3D of given parameters.

Syntax

C++
C#
Python
 
def CreateSegment3D(
	inPoint3D: Point3D,
	inPointAnchor: float,
	inDirectionVector: Vector3D,
	inLength: float,
	/
)
-> outSegment3D: Segment3D

Parameters

Name Type Range Default Description
Input value inPoint3D Point3D A point on the created segment
Input value inPointAnchor float 0.0 - 1.0 Anchor point, 0 means the beginning, 1 means the end of the segment
Input value inDirectionVector Vector3D Desired direction of the segment
Input value inLength float Desired length of the segment in pixels
Output value outSegment3D Segment3D The resulting segment