| Property | Defined by | ||
|---|---|---|---|
| coords : Point3D
Vertex coordinates.
| Vertex | ||
| faces : Set
[read-only] A set of faces owning this vertex.
| Vertex | ||
| id : Object [read-only] Vertex identifier in Mesh-object.
| Vertex | ||
| mesh : Mesh
[read-only] Mesh-object having given vertex.
| Vertex | ||
| x : Number X coordinate.
| Vertex | ||
| y : Number Y coordinate.
| Vertex | ||
| z : Number Z coordinate.
| Vertex | ||
| Method | Defined by | ||
|---|---|---|---|
|
Vertex(x:Number = 0, y:Number = 0, z:Number = 0)
Create vertex instance.
| Vertex | ||
|
toString():String
Get string representation of object.
| Vertex | ||
| coords | property |
coords:Point3D [read-write]Vertex coordinates.
Implementation public function get coords():Point3D
public function set coords(value:Point3D):void
| faces | property |
faces:Set [read-only]A set of faces owning this vertex. Every element of the set is an instance of altertnativa.engine3d.core.Face class.
public function get faces():Set
See also
| id | property |
id:Object [read-only]Vertex identifier in Mesh-object. If vertex does not belong to Mesh-object, returns null.
public function get id():Object
| mesh | property |
| x | property |
x:Number [read-write]X coordinate.
Implementation public function get x():Number
public function set x(value:Number):void
| y | property |
y:Number [read-write]Y coordinate.
Implementation public function get y():Number
public function set y(value:Number):void
| z | property |
z:Number [read-write]Z coordinate.
Implementation public function get z():Number
public function set z(value:Number):void
| Vertex | () | constructor |
public function Vertex(x:Number = 0, y:Number = 0, z:Number = 0)Create vertex instance.
Parametersx:Number (default = 0) — X coordinate. |
|
y:Number (default = 0) — Y coordinate. |
|
z:Number (default = 0) — Z coordinate. |
| toString | () | method |
public function toString():StringGet string representation of object.
ReturnsString — a string representation of the object |