Line2D


Synopsis

create a variable length line moveable in two dimensions

Input Ports

ui_parent

user interface parent object

 

Parameters

Transformation Editor

XformEditor

transform and scale the line in 2D space

 

Output Ports

out_fld

Mesh representing the line

out_obj

output renderable object

 

Description

Line2D generates a line of variable length that can only be transformed in two dimensions. The line generated is a simple geometry element suitable for probing fields with modules such as probe and glyph or as a sampling or slicing object input to macros such as streamlines, advector, and cut. Lines generated with Line2D are not intended for constructing complex geometry objects.

Input Ports

ui_parent

A port mean to be connected to a user interface object that will contain the macro's widgets. By default, it is connected to the default user interface object in the application in which the macro is instanced. (This default connection is not drawn.)

Parameters

Transformation Editor

An XformEditor that controls the position, orientation, and scale of the object in 2D space.

Output Ports

out_fld

The output consists of a Line_Mesh whose coordinates are the endpoints of the line.

out_obj

This is a renderable version of the output field.

Example

Not available.

File

v/geoms.v

See also