Class: Sketchup::Edge

Inherits:
Drawingelement show all
Defined in:
lib/edge.rb

Instance Method Summary collapse

Methods inherited from Drawingelement

#bounds, #casts_shadows=, #casts_shadows?, #erase!, #hidden=, #hidden?, #layer, #layer=, #material, #material=, #receives_shadows=, #receives_shadows?, #visible=, #visible?

Methods inherited from Entity

#add_observer, #attribute_dictionaries, #attribute_dictionary, #delete_attribute, #deleted?, #entityID, #get_attribute, #model, #parent, #remove_observer, #set_attribute, #to_s, #typename, #valid?

Instance Method Details

#all_connectedArray

Returns an array of the edge and its connected entities.

Examples:

model = Sketchup.active_model
edge = model.selection[0]
ents = edge.all_connected
==> [<Sketchup::Edge:0x787a440>, #<Sketchup::Edge:0x787a42c>, #<Sketchup::Face:0x787a418>, #<Sketchup::Edge:0x787a468>, #<Sketchup::Edge:0x787a404>]

Returns:

  • (Array)

    an array of the edge and its connected entities.



15
16
# File 'lib/edge.rb', line 15

def all_connected
end

#common_faceObject



18
19
# File 'lib/edge.rb', line 18

def common_face
end

#curveObject



20
21
# File 'lib/edge.rb', line 20

def curve
end

#endObject



22
23
# File 'lib/edge.rb', line 22

def end
end

#explode_curveObject



24
25
# File 'lib/edge.rb', line 24

def explode_curve
end

#facesObject



26
27
# File 'lib/edge.rb', line 26

def faces
end

#find_facesObject



28
29
# File 'lib/edge.rb', line 28

def find_faces
end

#lengthObject



30
31
# File 'lib/edge.rb', line 30

def length
end

#lineObject



32
33
# File 'lib/edge.rb', line 32

def line
end

#other_vertexObject



34
35
# File 'lib/edge.rb', line 34

def other_vertex
end

#reversed_in?Boolean

Returns:

  • (Boolean)


36
37
# File 'lib/edge.rb', line 36

def reversed_in?
end

#smooth=Object



38
39
# File 'lib/edge.rb', line 38

def smooth=
end

#smooth?Boolean

Returns:

  • (Boolean)


40
41
# File 'lib/edge.rb', line 40

def smooth?
end

#soft=Object



42
43
# File 'lib/edge.rb', line 42

def soft=
end

#soft?Boolean

Returns:

  • (Boolean)


44
45
# File 'lib/edge.rb', line 44

def soft?
end

#splitObject



46
47
# File 'lib/edge.rb', line 46

def split
end

#startObject



48
49
# File 'lib/edge.rb', line 48

def start
end

#used_by?Boolean

Returns:

  • (Boolean)


50
51
# File 'lib/edge.rb', line 50

def used_by?
end

#verticesObject



52
53
# File 'lib/edge.rb', line 52

def vertices
end