Class: OrientedLine2d

Raphael3d.Geom. OrientedLine2d

represents oriented line in xy plane

new OrientedLine2d(point, dir)

OrientedLine2d
This:
Parameters:
Name Type Argument Description
point Object <optional>
one point of the line
dir Object <optional>
directon vector of the line
Properties:
Name Type Description
point Object one point of the line
dir Object directon vector of the line
Source:
  • /var/www/html/software/raphael3d/raphael3d.src.js, line 3291

Methods

<static> create(point, dir) → {Raphael3d.Geom.OrientedLine2d}

Creates new OrientedLine2d object. See Raphael3d.Geom.OrientedLine2d for arguments
Parameters:
Name Type Argument Description
point Object <optional>
dir Object <optional>
Source:
  • /var/www/html/software/raphael3d/raphael3d.src.js, line 3301
Returns:
new OrientedLine2d object
Type
Raphael3d.Geom.OrientedLine2d

hasIntersectionWithProjEdge(edge) → {boolean}

Checks if receiver has intersection with projection of given edge
Parameters:
Name Type Description
edge Raphael3d.Edge given edge
Source:
  • /var/www/html/software/raphael3d/raphael3d.src.js, line 3309
Returns:
Type
boolean