Line2D.endPoint Property

Parent Object: Line2D
Defined in namespace "adsk::core" and the header file is <Core/Geometry/Line2D.h>

Description

Gets and sets the end point of the line.

Syntax

"line2D_var" is a variable referencing a Line2D object.

# Get the value of the property.
propertyValue = line2D_var.endPoint

# Set the value of the property.
line2D_var.endPoint = propertyValue
"line2D_var" is a variable referencing a Line2D object.
#include <Core/Geometry/Line2D.h>

// Get the value of the property.
Ptr<Point2D> propertyValue = line2D_var->endPoint();

// Set the value of the property, where value_var is a Point2D.
bool returnValue = line2D_var->endPoint(value_var);

Property Value

This is a read/write property whose value is a Point2D.

Version

Introduced in version August 2014