-
<static> create(v1, v2, paper, attrs) → {Raphael3d.Edge}
-
Parameters:
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 854
Returns:
new Edge instance
-
Type
-
Raphael3d.Edge
-
computeLength() → {number}
-
Computes length of receiver
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 879
Returns:
length of receiver
-
Type
-
number
-
computeLengthSqr() → {number}
-
Computes squared length of receiver
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 871
Returns:
squared length of receiver
-
Type
-
number
-
computeProjectedLength() → {number}
-
Computes length of receiver's projection
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 894
Returns:
length of receiver's projection
-
Type
-
number
-
computeProjectedLengthSqr() → {number}
-
Computes squared length of receiver's projection
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 886
Returns:
squared length of receiver's projection
-
Type
-
number
-
-
Returns the other vertex of receiver than the argunemt
Parameters:
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 920
Returns:
the other vertex
-
Type
-
Raphael3d.Vertex
-
-
Returns array of edges have 1 vertex in common with receiver
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 932
Returns:
array of neighboring edges
-
Type
-
Array.<Raphael3d.Edge>
-
isCoveredBy(b) → {boolean}
-
Checks if receiver is covered by given object (i.e. if the given object is present in initially empty coveredByList attribute, filled by the user)
Parameters:
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 1025
Returns:
true if receiver is covered by given object, false otherwise
-
Type
-
boolean
-
isNeighborOf(e) → {boolean}
-
Checks if receiver is a neighbor of given edge (if they have common vertex)
Parameters:
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 956
Returns:
true in case of common vertex, false otherwise
-
Type
-
boolean
-
isProjectedZParallel() → {boolean}
-
Checks if receiver's projection is parallel to Z axis
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 901
Returns:
true is receiver's projection is parallel to Z axis, false otherwise
-
Type
-
boolean
-
-
Project receiver (i.e. change projected coordinates of vertices) according to given matrix
Parameters:
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 986
Returns:
projected receiver
-
Type
-
Raphael3d.Edge
-
render()
-
Render receiver (update raphael path)
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 908
-
-
Transforsm receiver (i.e. change real coordinates of vertices) according to given matrix
Parameters:
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 976
Returns:
transformed receiver
-
Type
-
Raphael3d.Edge
-
-
Updates receiver (isBackFace and isBoundary attributes)
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 861
Returns:
updated receiver
-
Type
-
Raphael3d.Edge
-
-
Updates AABB (axis aligned bounding box) of receiver
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 996
Returns:
receiver
-
Type
-
Raphael3d.Edge