Table of Contents

Method GetPointAtDistance

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetPointAtDistance(double)

Gets the point at a signed distance measured from the origin along the line direction.

public GeoPoint3 GetPointAtDistance(double distance)

Parameters

distance double

The distance from the origin; negative runs against the direction.

Returns

GeoPoint3

The point at that distance.

Remarks

Because the direction is normalized, the parameter and the arc length are the same number here. Unlike a ray, a line has points behind its origin: from the line through (10, 20, 30) along X, the distance -30 is the point (-20, 20, 30).