transform

open override fun transform(transformer: Transformer<Vec3>): Segment3(source)

Applies a transformation to the endpoints of this segment.

Return

A new segment with transformed endpoints.

Parameters

transformer

The transformer to apply to the segment endpoints.