StraightLineEdge#

class ansys.mechanical.stubs.v261.Ansys.Mechanical.DataModel.ConstructionLines.Edges.StraightLineEdge#

Bases: object

Representation of a straight line edge between to edge vertices.

Overview#

__eq__

op_Equality method.

__ne__

op_Inequality method.

Equals

Equals method.

GetHashCode

GetHashCode method.

GetType

GetType method.

ToString

ToString method.

ConstructionLineId

The ID of the associated ConstructionLine.

EndPoint

A Point representing the end vertex of the edge.

IsRepresentation

Check to see if there is a valid entity that this instance represents.

Length

Length property.

ObjectId

Get the ID of the represented entity.

StartPoint

A Point representing the start vertex of an edge.

Property detail#

property StraightLineEdge.ConstructionLineId: int | None#

The ID of the associated ConstructionLine.

property StraightLineEdge.EndPoint: Ansys.Mechanical.DataModel.ConstructionLines.Point | None#

A Point representing the end vertex of the edge.

property StraightLineEdge.IsRepresentation: bool | None#

Check to see if there is a valid entity that this instance represents.

property StraightLineEdge.Length: Ansys.Core.Units.Quantity | None#

Length property.

property StraightLineEdge.ObjectId: int | None#

Get the ID of the represented entity.

property StraightLineEdge.StartPoint: Ansys.Mechanical.DataModel.ConstructionLines.Point | None#

A Point representing the start vertex of an edge.

Method detail#

StraightLineEdge.Equals(other: Ansys.Mechanical.DataModel.ConstructionLines.Edges.StraightLineEdge) bool#

Equals method.

StraightLineEdge.GetHashCode() int#

GetHashCode method.

StraightLineEdge.GetType() type#

GetType method.

StraightLineEdge.ToString() str#

ToString method.

classmethod StraightLineEdge.__eq__(left: Ansys.Mechanical.DataModel.ConstructionLines.Edges.StraightLineEdge, right: Ansys.Mechanical.DataModel.ConstructionLines.Edges.StraightLineEdge) bool#

op_Equality method.

classmethod StraightLineEdge.__ne__(left: Ansys.Mechanical.DataModel.ConstructionLines.Edges.StraightLineEdge, right: Ansys.Mechanical.DataModel.ConstructionLines.Edges.StraightLineEdge) bool#

op_Inequality method.