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

- (Array) all_connected

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

- (Object) common_face



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

def common_face
end

- (Object) curve



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

def curve
end

- (Object) end



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

def end
end

- (Object) explode_curve



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

def explode_curve
end

- (Object) faces



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

def faces
end

- (Object) find_faces



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

def find_faces
end

- (Object) length



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

def length
end

- (Object) line



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

def line
end

- (Object) other_vertex



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

def other_vertex
end

- (Boolean) reversed_in?

Returns:

  • (Boolean)


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

def reversed_in?
end

- (Object) smooth=



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

def smooth=
end

- (Boolean) smooth?

Returns:

  • (Boolean)


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

def smooth?
end

- (Object) soft=



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

def soft=
end

- (Boolean) soft?

Returns:

  • (Boolean)


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

def soft?
end

- (Object) split



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

def split
end

- (Object) start



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

def start
end

- (Boolean) used_by?

Returns:

  • (Boolean)


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

def used_by?
end

- (Object) vertices



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

def vertices
end