Primitive3D Line3D
Line3D, or how to create a simple line in Sandy
new Line3D()public function generate(Void):Voidgenerate
Generate all is needed to construct the Line3D :
public function setSkin(s:SimpleLineSkin, bOverWrite:Boolean):BooleanSet a Skin to the Line3D.
This method will set the a new skin to the line, but the skin must be a SimpleLineSkin instance.
bOverWrite | Boolean, overwrite or not all specific Faces's Skin |
Boolean True to apply the skin to the non default faces skins , false otherwise (default).
public function setBackSkin(s:SimpleLineSkin, bOverWrite:Boolean):BooleanThe setBackSkin is disabled for this object since it does not have a particular depth.
public function getPrimitiveName(Void):StringgetPrimitiveName() returns the string "Line3D"
public function toString(Void):StringDescription copied from Object3D
Represents the Object3D into a String.
toString() in sandy.primitive.Primitive3D
public function getSize(Void):VectorgetSize() returns the number of vertices in a Line3D element. Returns vector where x, y, and z are all equal to the number of vertices in the line