You are here: Start » FIL.NET » Function Reference » Geometry 3D » Geometry 3D Basics » FIL.CreateSegment3D

FIL.CreateSegment3D

Produces a segment in 3D of given parameters.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void CreateSegment3D
(
	FilNet.Point3D inPoint3D,
	float inPointAnchor,
	FilNet.Vector3D inDirectionVector,
	float inLength,
	out FilNet.Segment3D outSegment3D
)

Parameters

Name Type Range Default Description
inPoint3DFilNet.Point3DA point on the created segment.
inPointAnchorfloat<0.0f, 1.0f>Anchor point, 0 means the beginning, 1 means the end of the segment.
inDirectionVectorFilNet.Vector3DDesired direction of the segment.
inLengthfloatDesired length of the segment in pixels.
outSegment3DFilNet.Segment3DThe resulting segment.

See also